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
- HostSecurityManager.cs
- WebCodeGenerator.cs
- ExtentCqlBlock.cs
- ResourceExpression.cs
- HtmlTableRowCollection.cs
- TraceEventCache.cs
- AmbientLight.cs
- TableLayoutPanel.cs
- IERequestCache.cs
- ContentPresenter.cs
- TagMapInfo.cs
- SqlCachedBuffer.cs
- GridLength.cs
- UIElementAutomationPeer.cs
- ActiveDocumentEvent.cs
- ViewStateModeByIdAttribute.cs
- MarkupWriter.cs
- Int32AnimationBase.cs
- Queue.cs
- DataGridColumnsPage.cs
- PartitionResolver.cs
- SrgsText.cs
- InputBindingCollection.cs
- QueryRewriter.cs
- MultiView.cs
- ToolboxItemSnapLineBehavior.cs
- UIPropertyMetadata.cs
- ToolboxItem.cs
- UnsafeNativeMethods.cs
- AnnouncementSendsAsyncResult.cs
- SID.cs
- DataBindEngine.cs
- ISAPIWorkerRequest.cs
- Propagator.ExtentPlaceholderCreator.cs
- Parser.cs
- DatePickerTextBox.cs
- HelpProvider.cs
- ClientSettingsStore.cs
- DropShadowBitmapEffect.cs
- ActivityDesignerHighlighter.cs
- WsatServiceCertificate.cs
- Marshal.cs
- FixedSOMPageElement.cs
- FixedSOMTextRun.cs
- FileLevelControlBuilderAttribute.cs
- FormClosedEvent.cs
- ActivityWithResultValueSerializer.cs
- HierarchicalDataBoundControlAdapter.cs
- DerivedKeySecurityTokenStub.cs
- JsonUriDataContract.cs
- LabelEditEvent.cs
- XmlObjectSerializerWriteContextComplex.cs
- GridItem.cs
- SchemaTypeEmitter.cs
- ThousandthOfEmRealDoubles.cs
- ACL.cs
- WebContext.cs
- PropertyConverter.cs
- PnrpPermission.cs
- AppPool.cs
- InstanceKeyView.cs
- EmptyQuery.cs
- EmbossBitmapEffect.cs
- TimeSpanConverter.cs
- AddInAdapter.cs
- PropertyCondition.cs
- DependencyPropertyChangedEventArgs.cs
- TextSearch.cs
- InputLanguageProfileNotifySink.cs
- ClientType.cs
- AssemblyAttributesGoHere.cs
- SafeViewOfFileHandle.cs
- FixUp.cs
- XmlSerializerFormatAttribute.cs
- SpeechAudioFormatInfo.cs
- JsonDeserializer.cs
- IndexOutOfRangeException.cs
- EdmItemCollection.OcAssemblyCache.cs
- AllMembershipCondition.cs
- WpfSharedBamlSchemaContext.cs
- ExecutionTracker.cs
- BigInt.cs
- Line.cs
- ModelItemKeyValuePair.cs
- HttpContext.cs
- WebSysDefaultValueAttribute.cs
- CustomAttributeBuilder.cs
- SessionState.cs
- EpmAttributeNameBuilder.cs
- DataGridViewSortCompareEventArgs.cs
- TextRunCache.cs
- PopupControlService.cs
- TransformedBitmap.cs
- RestrictedTransactionalPackage.cs
- FullTextBreakpoint.cs
- _SslSessionsCache.cs
- PeerNameRegistration.cs
- HttpDebugHandler.cs
- FileDialogCustomPlacesCollection.cs
- DataViewSettingCollection.cs