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
- SqlTriggerContext.cs
- Camera.cs
- SynchronizationContextHelper.cs
- _Semaphore.cs
- safesecurityhelperavalon.cs
- ConstNode.cs
- HttpCapabilitiesBase.cs
- CodeConstructor.cs
- ConfigurationStrings.cs
- ImageConverter.cs
- ProviderConnectionPointCollection.cs
- GridLength.cs
- UserControlDocumentDesigner.cs
- PropertyItem.cs
- SortableBindingList.cs
- CodeDirectiveCollection.cs
- WebPartTracker.cs
- DbConnectionOptions.cs
- ServiceHostingEnvironmentSection.cs
- Enum.cs
- LinqDataSourceDisposeEventArgs.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- AnimatedTypeHelpers.cs
- FileNotFoundException.cs
- XmlTextReaderImplHelpers.cs
- SvcMapFileLoader.cs
- NativeMethodsOther.cs
- Tuple.cs
- CorrelationTokenTypeConvertor.cs
- ConditionCollection.cs
- TimeIntervalCollection.cs
- HtmlToClrEventProxy.cs
- BindingWorker.cs
- TextRunCache.cs
- UnsafeMethods.cs
- StringSorter.cs
- Control.cs
- BuildResultCache.cs
- SimpleMailWebEventProvider.cs
- MetadataSerializer.cs
- RemoteWebConfigurationHost.cs
- EventDrivenDesigner.cs
- DispatcherOperation.cs
- DateTimeFormatInfoScanner.cs
- AssociationType.cs
- SqlFlattener.cs
- DocumentPaginator.cs
- OperationParameterInfo.cs
- ControlValuePropertyAttribute.cs
- SqlClientFactory.cs
- URLAttribute.cs
- FileDialogCustomPlace.cs
- DnsPermission.cs
- DiagnosticsConfigurationHandler.cs
- BitmapEffectGroup.cs
- MarshalByRefObject.cs
- Process.cs
- SkinBuilder.cs
- returneventsaver.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ValidationResults.cs
- XmlSchemaType.cs
- AnnotationResourceCollection.cs
- TreeViewImageIndexConverter.cs
- SourceFileInfo.cs
- RadioButton.cs
- TemplatedMailWebEventProvider.cs
- DESCryptoServiceProvider.cs
- DataBoundControlHelper.cs
- StateManager.cs
- BaseEntityWrapper.cs
- SpellCheck.cs
- Wow64ConfigurationLoader.cs
- Schema.cs
- HeaderUtility.cs
- PersonalizationStateInfoCollection.cs
- TransformerInfo.cs
- ObjectDataSourceMethodEventArgs.cs
- DataChangedEventManager.cs
- AuthenticatedStream.cs
- PassportAuthenticationModule.cs
- WebException.cs
- ColorKeyFrameCollection.cs
- MetadataFile.cs
- X509ChainPolicy.cs
- MDIClient.cs
- CodeAccessPermission.cs
- GAC.cs
- ValidatedControlConverter.cs
- ColumnMapProcessor.cs
- XsltFunctions.cs
- DataGridViewColumnStateChangedEventArgs.cs
- DateTimeParse.cs
- CardSpaceSelector.cs
- DataGridViewCell.cs
- XmlAutoDetectWriter.cs
- AliasedSlot.cs
- TextParagraphCache.cs
- XpsFontSerializationService.cs
- InitializationEventAttribute.cs