Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TagPrefixCollection.cs
- CodeDOMUtility.cs
- SymmetricAlgorithm.cs
- VisualStateChangedEventArgs.cs
- TearOffProxy.cs
- NumberAction.cs
- EventWaitHandle.cs
- NavigateEvent.cs
- InvalidAsynchronousStateException.cs
- ReflectionTypeLoadException.cs
- ToolboxComponentsCreatingEventArgs.cs
- Ray3DHitTestResult.cs
- Properties.cs
- AutomationIdentifierGuids.cs
- WebPartPersonalization.cs
- MetadataWorkspace.cs
- UniqueIdentifierService.cs
- DataKeyCollection.cs
- ZipIOModeEnforcingStream.cs
- XPathScanner.cs
- ProgressBarAutomationPeer.cs
- DetailsViewInsertedEventArgs.cs
- Debug.cs
- NullEntityWrapper.cs
- OdbcCommandBuilder.cs
- Button.cs
- StylusPointPropertyInfo.cs
- DesignerTransaction.cs
- DBParameter.cs
- ListItemsPage.cs
- DateTimeOffset.cs
- SamlConstants.cs
- HandlerFactoryCache.cs
- Environment.cs
- BezierSegment.cs
- XmlSerializableReader.cs
- ConfigXmlText.cs
- BrushMappingModeValidation.cs
- SiteMapDataSource.cs
- ApplicationSecurityManager.cs
- EpmTargetTree.cs
- OraclePermission.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Animatable.cs
- URLAttribute.cs
- PropertyBuilder.cs
- validationstate.cs
- XmlSignatureManifest.cs
- EventLogEntryCollection.cs
- DataGridViewBand.cs
- TrackingValidationObjectDictionary.cs
- ChannelCacheSettings.cs
- RemoteHelper.cs
- CompositeCollectionView.cs
- GlobalProxySelection.cs
- ReaderContextStackData.cs
- AuthorizationSection.cs
- HyperLinkDesigner.cs
- WindowsComboBox.cs
- AuthenticationModuleElement.cs
- Win32.cs
- Inflater.cs
- StylusPointPropertyInfoDefaults.cs
- FormatPage.cs
- OletxVolatileEnlistment.cs
- ThreadStaticAttribute.cs
- GridViewUpdatedEventArgs.cs
- BindableTemplateBuilder.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- DbDataSourceEnumerator.cs
- initElementDictionary.cs
- SQlBooleanStorage.cs
- SourceItem.cs
- ToolboxItemWrapper.cs
- EditingScope.cs
- SqlFacetAttribute.cs
- Attribute.cs
- CompoundFileIOPermission.cs
- SQLInt32.cs
- Solver.cs
- WindowsFormsHostAutomationPeer.cs
- DesignOnlyAttribute.cs
- CopyCodeAction.cs
- XNodeSchemaApplier.cs
- LineGeometry.cs
- NavigationWindowAutomationPeer.cs
- OLEDB_Enum.cs
- DispatcherSynchronizationContext.cs
- NotifyIcon.cs
- DrawingAttributeSerializer.cs
- TabPage.cs
- XmlCharType.cs
- TableCellCollection.cs
- WebBaseEventKeyComparer.cs
- IsolatedStorageFilePermission.cs
- QilTypeChecker.cs
- __Filters.cs
- LookupNode.cs
- StringKeyFrameCollection.cs
- RoleManagerSection.cs