Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TimeSpanValidatorAttribute.cs
- XhtmlTextWriter.cs
- InvalidAsynchronousStateException.cs
- CurrentChangingEventManager.cs
- Repeater.cs
- ObjectItemCollection.cs
- TextReader.cs
- GlyphElement.cs
- CallContext.cs
- WebPartTransformer.cs
- WeakReferenceEnumerator.cs
- PeerTransportCredentialType.cs
- XhtmlTextWriter.cs
- WindowsClaimSet.cs
- DescendantQuery.cs
- MiniConstructorInfo.cs
- PrimitiveSchema.cs
- EventSinkActivity.cs
- PeerCustomResolverElement.cs
- ListViewHitTestInfo.cs
- ProxyGenerationError.cs
- Pool.cs
- SessionStateUtil.cs
- ISSmlParser.cs
- CalendarDayButton.cs
- BuildManager.cs
- XmlAttributeHolder.cs
- ServiceErrorHandler.cs
- SortFieldComparer.cs
- LoadedOrUnloadedOperation.cs
- BuildProvider.cs
- Policy.cs
- GeometryCombineModeValidation.cs
- WrappedIUnknown.cs
- StringKeyFrameCollection.cs
- GeneralTransform3DTo2D.cs
- PerformanceCounterPermission.cs
- ScriptModule.cs
- DefaultAsyncDataDispatcher.cs
- ElementHostPropertyMap.cs
- ConstraintConverter.cs
- TrackBarDesigner.cs
- HTMLTextWriter.cs
- Image.cs
- SectionRecord.cs
- GPPOINTF.cs
- DeclarativeCatalogPart.cs
- DataGridViewColumnCollection.cs
- ControlCollection.cs
- WindowAutomationPeer.cs
- OracleString.cs
- IgnoreDataMemberAttribute.cs
- CodePropertyReferenceExpression.cs
- Camera.cs
- Win32.cs
- SchemaImporter.cs
- GridView.cs
- DataControlReferenceCollection.cs
- TypeTypeConverter.cs
- InputLanguageManager.cs
- FunctionCommandText.cs
- ThreadStateException.cs
- DelegateBodyWriter.cs
- CurrentChangingEventArgs.cs
- ThreadAbortException.cs
- LinkTarget.cs
- Win32MouseDevice.cs
- CompilationUnit.cs
- BridgeDataRecord.cs
- InstanceDataCollectionCollection.cs
- DataServiceOperationContext.cs
- StaticSiteMapProvider.cs
- MsdtcWrapper.cs
- SafeThemeHandle.cs
- TouchEventArgs.cs
- AtomEntry.cs
- JpegBitmapDecoder.cs
- TextElement.cs
- TextEditorCopyPaste.cs
- TransactionTable.cs
- ArraySegment.cs
- TypeUsage.cs
- BitConverter.cs
- BitmapVisualManager.cs
- CaseInsensitiveComparer.cs
- Encoding.cs
- TextRenderer.cs
- ClientViaElement.cs
- AccessViolationException.cs
- Symbol.cs
- LambdaCompiler.Address.cs
- DeflateEmulationStream.cs
- SystemSounds.cs
- OraclePermissionAttribute.cs
- CacheHelper.cs
- PlainXmlDeserializer.cs
- InvalidProgramException.cs
- CodeExpressionStatement.cs
- Nullable.cs
- IntSecurity.cs