Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / ServerValidateEventArgs.cs / 1 / ServerValidateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ServerValidateEventArgs : EventArgs { private bool isValid; private string value; ///Provides data for the /// ///event of the . /// public ServerValidateEventArgs(string value, bool isValid) : base() { this.isValid = isValid; this.value = value; } ///Initializes a new instance of the ////// class. /// public string Value { get { return value; } } ///Gets the string value to validate. ////// Gets or sets whether the input is valid. /// public bool IsValid { get { return isValid; } set { this.isValid = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ServerValidateEventArgs : EventArgs { private bool isValid; private string value; ///Provides data for the /// ///event of the . /// public ServerValidateEventArgs(string value, bool isValid) : base() { this.isValid = isValid; this.value = value; } ///Initializes a new instance of the ////// class. /// public string Value { get { return value; } } ///Gets the string value to validate. ////// Gets or sets whether the input is valid. /// public bool IsValid { get { return isValid; } set { this.isValid = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PassportAuthentication.cs
- ScaleTransform.cs
- BitmapEffectvisualstate.cs
- WebServiceReceiveDesigner.cs
- DescriptionCreator.cs
- ComponentChangedEvent.cs
- ManagementBaseObject.cs
- FileCodeGroup.cs
- TaskFileService.cs
- ToolStripDropDownDesigner.cs
- ApplicationServiceHelper.cs
- RoleGroup.cs
- BrowserDefinitionCollection.cs
- TableCellCollection.cs
- ShapeTypeface.cs
- ISO2022Encoding.cs
- ImageSourceValueSerializer.cs
- BordersPage.cs
- XmlTextReaderImpl.cs
- SizeValueSerializer.cs
- FixedHighlight.cs
- PolyBezierSegment.cs
- NavigationProperty.cs
- COMException.cs
- EntitySqlQueryState.cs
- DoubleKeyFrameCollection.cs
- SpellerInterop.cs
- DropShadowBitmapEffect.cs
- RootNamespaceAttribute.cs
- ItemChangedEventArgs.cs
- UseLicense.cs
- UpdatePanel.cs
- ResourceIDHelper.cs
- ScrollContentPresenter.cs
- DataException.cs
- AccessDataSource.cs
- loginstatus.cs
- NegatedCellConstant.cs
- WebServiceResponse.cs
- EncryptedKey.cs
- XPathSingletonIterator.cs
- XamlHostingSection.cs
- NativeMethods.cs
- ParserStreamGeometryContext.cs
- Application.cs
- TemplateParser.cs
- Bezier.cs
- ResXResourceSet.cs
- SqlAliaser.cs
- SEHException.cs
- AgileSafeNativeMemoryHandle.cs
- Clipboard.cs
- ContentControl.cs
- mediaeventargs.cs
- CryptographicAttribute.cs
- SafeBitVector32.cs
- Rotation3D.cs
- StorageAssociationSetMapping.cs
- TextRangeProviderWrapper.cs
- PermissionSetTriple.cs
- StorageSetMapping.cs
- LineServices.cs
- ProgressBar.cs
- RuntimeIdentifierPropertyAttribute.cs
- ProviderCollection.cs
- IdentityHolder.cs
- DataControlField.cs
- MatrixValueSerializer.cs
- FilterElement.cs
- documentsequencetextview.cs
- XmlDataProvider.cs
- NonValidatingSecurityTokenAuthenticator.cs
- Keywords.cs
- BridgeDataRecord.cs
- ImageSource.cs
- NativeMethods.cs
- _ConnectOverlappedAsyncResult.cs
- XmlBinaryWriterSession.cs
- DateRangeEvent.cs
- PnrpPeerResolverBindingElement.cs
- TreeViewDataItemAutomationPeer.cs
- QuaternionAnimation.cs
- documentsequencetextpointer.cs
- FileLogRecordStream.cs
- XmlMtomReader.cs
- ConnectionProviderAttribute.cs
- DataRecordInternal.cs
- UnicodeEncoding.cs
- XPathNode.cs
- ExtractedStateEntry.cs
- MenuBase.cs
- StreamAsIStream.cs
- WebSysDisplayNameAttribute.cs
- ThumbButtonInfo.cs
- HtmlControl.cs
- EditorZone.cs
- AnonymousIdentificationModule.cs
- InkCanvasFeedbackAdorner.cs
- CodeTryCatchFinallyStatement.cs
- EasingKeyFrames.cs