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
- Win32.cs
- AuthenticatedStream.cs
- StringUtil.cs
- NameValueConfigurationCollection.cs
- WindowsAltTab.cs
- WebPartAuthorizationEventArgs.cs
- RequestBringIntoViewEventArgs.cs
- MediaSystem.cs
- WebControlParameterProxy.cs
- ListBoxItemWrapperAutomationPeer.cs
- StylusPointProperties.cs
- SQLDateTime.cs
- TimeIntervalCollection.cs
- MsmqInputChannelListenerBase.cs
- DataGridColumnCollection.cs
- DropSource.cs
- StorageConditionPropertyMapping.cs
- BridgeDataRecord.cs
- EventDescriptor.cs
- SerializationHelper.cs
- BulletedList.cs
- ObjectStateEntry.cs
- WrapPanel.cs
- TaskExtensions.cs
- HtmlAnchor.cs
- ClientOptions.cs
- EntityKey.cs
- OLEDB_Enum.cs
- SchemaMapping.cs
- DataAdapter.cs
- TableParaClient.cs
- DataViewManager.cs
- AxisAngleRotation3D.cs
- LZCodec.cs
- SrgsText.cs
- DriveInfo.cs
- WindowsFormsSectionHandler.cs
- TemplateBuilder.cs
- SetterBase.cs
- MessageDroppedTraceRecord.cs
- X509ChainPolicy.cs
- XmlSchemaIdentityConstraint.cs
- CompatibleIComparer.cs
- RenderOptions.cs
- OleDbDataAdapter.cs
- ToolStripDesignerUtils.cs
- BinaryReader.cs
- Geometry3D.cs
- PropertyChangedEventArgs.cs
- XmlBindingWorker.cs
- ValidationResult.cs
- TimeSpanValidatorAttribute.cs
- LingerOption.cs
- DbConnectionStringCommon.cs
- Rect3D.cs
- PreProcessInputEventArgs.cs
- LZCodec.cs
- PolyLineSegment.cs
- WebPartCatalogAddVerb.cs
- adornercollection.cs
- StringUtil.cs
- RoleManagerEventArgs.cs
- ReadWriteSpinLock.cs
- TreeNodeCollection.cs
- VideoDrawing.cs
- MachineKeyConverter.cs
- ToolStripDropDownItemDesigner.cs
- SelfIssuedAuthProofToken.cs
- DataPagerFieldItem.cs
- FixedTextBuilder.cs
- DtcInterfaces.cs
- MemberMemberBinding.cs
- ValidationEventArgs.cs
- unitconverter.cs
- Char.cs
- CallbackDebugBehavior.cs
- CacheMemory.cs
- KeyGestureValueSerializer.cs
- Help.cs
- MachineKeySection.cs
- DetailsViewUpdateEventArgs.cs
- AnnouncementEndpoint.cs
- DoubleConverter.cs
- SettingsPropertyNotFoundException.cs
- _TransmitFileOverlappedAsyncResult.cs
- Int32Collection.cs
- HttpListenerContext.cs
- TableCell.cs
- ManagedWndProcTracker.cs
- PageCatalogPart.cs
- Int32AnimationBase.cs
- Root.cs
- DetailsViewUpdateEventArgs.cs
- DesignerDataParameter.cs
- FileChangesMonitor.cs
- XPathNavigator.cs
- PropertyNames.cs
- FormsAuthenticationTicket.cs
- xmlglyphRunInfo.cs
- SiteMap.cs