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
- InfoCardX509Validator.cs
- FontStretch.cs
- ProcessModuleCollection.cs
- DataGridViewTopLeftHeaderCell.cs
- DBCommandBuilder.cs
- ExceptionWrapper.cs
- XmlSerializationGeneratedCode.cs
- MenuItem.cs
- XmlAnyAttributeAttribute.cs
- OdbcConnectionOpen.cs
- ValidationManager.cs
- PointAnimationClockResource.cs
- UnSafeCharBuffer.cs
- ActivityWithResult.cs
- Exceptions.cs
- FacetDescription.cs
- FastEncoder.cs
- ObjectManager.cs
- XmlSchemaCompilationSettings.cs
- HttpWebRequest.cs
- BufferedOutputStream.cs
- SqlDataSourceFilteringEventArgs.cs
- SQLStringStorage.cs
- Converter.cs
- PenLineCapValidation.cs
- TrackPointCollection.cs
- _BaseOverlappedAsyncResult.cs
- SafePEFileHandle.cs
- ScrollItemPatternIdentifiers.cs
- AnnotationAdorner.cs
- PropertyConverter.cs
- TabletDevice.cs
- FontFamilyConverter.cs
- DesignerDeviceConfig.cs
- EntryPointNotFoundException.cs
- FormParameter.cs
- FileReservationCollection.cs
- WrapPanel.cs
- ExecutionEngineException.cs
- BitmapSizeOptions.cs
- Certificate.cs
- InstanceData.cs
- LOSFormatter.cs
- BaseUriHelper.cs
- KnownBoxes.cs
- EndpointAddressMessageFilter.cs
- ExtensibleClassFactory.cs
- BlobPersonalizationState.cs
- DataTemplate.cs
- RegisteredArrayDeclaration.cs
- Matrix3DValueSerializer.cs
- Subtract.cs
- BinHexDecoder.cs
- ExceptionWrapper.cs
- MachineKeyValidationConverter.cs
- EmptyImpersonationContext.cs
- CriticalHandle.cs
- StringDictionary.cs
- GridProviderWrapper.cs
- Application.cs
- UrlAuthFailedErrorFormatter.cs
- ListQueryResults.cs
- DefaultValueConverter.cs
- FormsAuthenticationCredentials.cs
- RequestStatusBarUpdateEventArgs.cs
- CodeTypeReferenceExpression.cs
- EditorPartChrome.cs
- OrderedEnumerableRowCollection.cs
- coordinatorscratchpad.cs
- IntSecurity.cs
- XmlDataSource.cs
- PenLineJoinValidation.cs
- HttpBufferlessInputStream.cs
- UnsafeNativeMethodsPenimc.cs
- WaitHandleCannotBeOpenedException.cs
- SafeLocalAllocation.cs
- GregorianCalendar.cs
- ExpandCollapseProviderWrapper.cs
- _PooledStream.cs
- TileBrush.cs
- BitmapEffectDrawingContent.cs
- OrderedParallelQuery.cs
- Solver.cs
- QilInvokeLateBound.cs
- HtmlImage.cs
- GeneralTransformGroup.cs
- ListViewGroupItemCollection.cs
- XmlResolver.cs
- IPAddress.cs
- TextElementCollection.cs
- FormatterServices.cs
- VersionPair.cs
- EncoderBestFitFallback.cs
- SqlConnectionManager.cs
- WriteLineDesigner.xaml.cs
- EventTask.cs
- DiscoveryDocument.cs
- GeometryModel3D.cs
- HyperLinkStyle.cs
- RadioButtonPopupAdapter.cs