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
- HandlerBase.cs
- ButtonField.cs
- ObjectStateEntry.cs
- __Error.cs
- RelationalExpressions.cs
- DeclarativeCatalogPart.cs
- InternalConfigSettingsFactory.cs
- DataTemplate.cs
- TableDetailsCollection.cs
- XPathBinder.cs
- WizardPanelChangingEventArgs.cs
- EntityWithKeyStrategy.cs
- DataGridCellEditEndingEventArgs.cs
- UpdatePanelTrigger.cs
- EntityDataSourceEntitySetNameItem.cs
- ThemeConfigurationDialog.cs
- VScrollProperties.cs
- SamlSubjectStatement.cs
- OpCopier.cs
- ComponentSerializationService.cs
- SqlConnectionPoolProviderInfo.cs
- EmptyEnumerator.cs
- UserControlParser.cs
- ViewgenGatekeeper.cs
- TextRangeAdaptor.cs
- KnownIds.cs
- CallSiteOps.cs
- XmlRootAttribute.cs
- InsufficientMemoryException.cs
- PermissionSetTriple.cs
- DeadCharTextComposition.cs
- TemplateComponentConnector.cs
- Root.cs
- DataGridPagingPage.cs
- XXXInfos.cs
- XhtmlBasicLiteralTextAdapter.cs
- FormViewRow.cs
- BitStream.cs
- MouseActionValueSerializer.cs
- OrderedDictionaryStateHelper.cs
- WebPartMinimizeVerb.cs
- ExpressionBuilder.cs
- TextDecoration.cs
- HierarchicalDataSourceConverter.cs
- ToolStripSettings.cs
- DataGridViewCellStyleEditor.cs
- DesignerListAdapter.cs
- InstanceDataCollectionCollection.cs
- SectionRecord.cs
- SingleAnimationBase.cs
- OracleRowUpdatedEventArgs.cs
- ListViewInsertionMark.cs
- _NegoState.cs
- MailBnfHelper.cs
- SqlTopReducer.cs
- AnimationClockResource.cs
- CriticalExceptions.cs
- Root.cs
- ToolboxBitmapAttribute.cs
- RadioButtonFlatAdapter.cs
- ACL.cs
- LZCodec.cs
- HandlerWithFactory.cs
- BaseProcessor.cs
- XmlWriterSettings.cs
- OutputScopeManager.cs
- PenThreadWorker.cs
- ProtectedConfigurationProviderCollection.cs
- XPathNodeList.cs
- TemplatedWizardStep.cs
- RayMeshGeometry3DHitTestResult.cs
- DriveNotFoundException.cs
- BaseDataBoundControl.cs
- LinqDataSourceUpdateEventArgs.cs
- JsonUriDataContract.cs
- safelink.cs
- MemoryFailPoint.cs
- PropertyReferenceExtension.cs
- HwndSourceParameters.cs
- CodeIdentifiers.cs
- updatecommandorderer.cs
- StatementContext.cs
- FullTextBreakpoint.cs
- ExceptionUtility.cs
- Int64KeyFrameCollection.cs
- SecurityTokenSerializer.cs
- xmlsaver.cs
- httpstaticobjectscollection.cs
- UIElement3D.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- PrinterResolution.cs
- NullableIntAverageAggregationOperator.cs
- DataGridViewRowCancelEventArgs.cs
- RemoteWebConfigurationHost.cs
- XmlQuerySequence.cs
- SkewTransform.cs
- LicFileLicenseProvider.cs
- StorageEntitySetMapping.cs
- StylusCollection.cs
- BidPrivateBase.cs