Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- BufferedReadStream.cs
- ToolStripComboBox.cs
- SignedXml.cs
- UIElementParaClient.cs
- AsyncResult.cs
- AccessibilityHelperForXpWin2k3.cs
- BitmapEffectDrawingContextState.cs
- ValidationRuleCollection.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- DesignTimeTemplateParser.cs
- FontDialog.cs
- OrderedHashRepartitionStream.cs
- SqlMetaData.cs
- HttpResponseWrapper.cs
- documentsequencetextpointer.cs
- CommandManager.cs
- KeyMatchBuilder.cs
- XmlSchemaSimpleContent.cs
- SiteMapPath.cs
- Rect3DConverter.cs
- ReliableSessionBindingElement.cs
- ObjectReferenceStack.cs
- KeyProperty.cs
- Soap.cs
- PolyBezierSegment.cs
- RecognizeCompletedEventArgs.cs
- HandlerElementCollection.cs
- ZoomingMessageFilter.cs
- SqlDataSourceSelectingEventArgs.cs
- DataGridItem.cs
- PrintDialogException.cs
- SelectionRangeConverter.cs
- InkCanvasAutomationPeer.cs
- BindingList.cs
- DataGridViewTopLeftHeaderCell.cs
- UIPermission.cs
- EmptyStringExpandableObjectConverter.cs
- TypedTableBase.cs
- OracleConnectionStringBuilder.cs
- PropertyGridView.cs
- DecimalAnimationUsingKeyFrames.cs
- GuidelineSet.cs
- WizardStepBase.cs
- WeakHashtable.cs
- XmlDocumentFragment.cs
- _SslSessionsCache.cs
- MatrixKeyFrameCollection.cs
- CachedCompositeFamily.cs
- SharedStatics.cs
- StorageModelBuildProvider.cs
- HtmlWindowCollection.cs
- KeyManager.cs
- RemotingException.cs
- DesignerOptionService.cs
- NameValuePermission.cs
- DataBindingValueUIHandler.cs
- TypeExtension.cs
- DefinitionBase.cs
- XmlNodeReader.cs
- RemoteCryptoSignHashRequest.cs
- WindowsPen.cs
- InstanceDataCollectionCollection.cs
- AnnotationDocumentPaginator.cs
- TablePatternIdentifiers.cs
- DataControlFieldCell.cs
- CssClassPropertyAttribute.cs
- XmlDataImplementation.cs
- ContentPresenter.cs
- Errors.cs
- XhtmlBasicFormAdapter.cs
- SynchronizedInputPattern.cs
- TableHeaderCell.cs
- ListViewInsertedEventArgs.cs
- TextSelection.cs
- FileLogRecordEnumerator.cs
- ListDesigner.cs
- String.cs
- WebPartEditorOkVerb.cs
- Converter.cs
- EventWaitHandle.cs
- SingleStorage.cs
- Missing.cs
- FontClient.cs
- _CookieModule.cs
- ToolStripStatusLabel.cs
- TemplateXamlTreeBuilder.cs
- SqlTriggerContext.cs
- RegexRunnerFactory.cs
- DataGridRowClipboardEventArgs.cs
- PropertyMetadata.cs
- AbstractSvcMapFileLoader.cs
- ListenerConfig.cs
- ButtonBaseAdapter.cs
- SectionInformation.cs
- DetectEofStream.cs
- XmlStreamNodeWriter.cs
- EventArgs.cs
- ComplusTypeValidator.cs
- TextServicesCompartment.cs
- DataGridViewDataErrorEventArgs.cs