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
- isolationinterop.cs
- FixedDocumentSequencePaginator.cs
- DiscoveryDefaults.cs
- PagesSection.cs
- UInt64Storage.cs
- TransformGroup.cs
- GenerateTemporaryTargetAssembly.cs
- ProgressiveCrcCalculatingStream.cs
- SyndicationElementExtensionCollection.cs
- Soap12ProtocolReflector.cs
- SafeSecurityHelper.cs
- BindingEntityInfo.cs
- ConfigurationSchemaErrors.cs
- TextDecorations.cs
- Array.cs
- HtmlTableRowCollection.cs
- UdpConstants.cs
- StyleXamlTreeBuilder.cs
- Base64Decoder.cs
- ControlBuilderAttribute.cs
- TaskForm.cs
- ADConnectionHelper.cs
- SafePEFileHandle.cs
- DataTransferEventArgs.cs
- Thread.cs
- QilStrConcatenator.cs
- OdbcConnection.cs
- UnsafeNativeMethods.cs
- PriorityChain.cs
- Automation.cs
- CheckBox.cs
- XmlQueryType.cs
- RunClient.cs
- GeneratedCodeAttribute.cs
- SelectionRangeConverter.cs
- XmlSchemaSimpleContentExtension.cs
- InheritanceRules.cs
- CqlErrorHelper.cs
- DesignUtil.cs
- X509Certificate.cs
- TriState.cs
- PropertyGrid.cs
- IgnoreFlushAndCloseStream.cs
- DbgCompiler.cs
- FileDetails.cs
- GridItemProviderWrapper.cs
- CodeExpressionStatement.cs
- UInt32Converter.cs
- ExtenderHelpers.cs
- GetPageCompletedEventArgs.cs
- BindingCollection.cs
- DebugView.cs
- ClassValidator.cs
- PrimarySelectionAdorner.cs
- MetadataArtifactLoaderComposite.cs
- ToolStripSeparatorRenderEventArgs.cs
- RuleEngine.cs
- Transform3DCollection.cs
- XmlObjectSerializerWriteContext.cs
- MimePart.cs
- DataColumnMapping.cs
- MsdtcWrapper.cs
- tooltip.cs
- CompilerInfo.cs
- XamlTreeBuilderBamlRecordWriter.cs
- UInt64.cs
- XsltArgumentList.cs
- X509RawDataKeyIdentifierClause.cs
- ArgumentOutOfRangeException.cs
- OptimizedTemplateContent.cs
- EntityDataSourceViewSchema.cs
- DataExpression.cs
- DBSqlParserColumn.cs
- UserNameSecurityTokenAuthenticator.cs
- assertwrapper.cs
- XPathDescendantIterator.cs
- EntityDataSourceContainerNameItem.cs
- ContextStack.cs
- LongTypeConverter.cs
- ControlDesigner.cs
- XsdBuilder.cs
- StoragePropertyMapping.cs
- Icon.cs
- QuaternionAnimationBase.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ProgressBarAutomationPeer.cs
- PolicyLevel.cs
- IISUnsafeMethods.cs
- XmlSchemaAnnotated.cs
- HierarchicalDataSourceControl.cs
- NamespaceTable.cs
- SecureStringHasher.cs
- WindowsFormsHelpers.cs
- BitmapEncoder.cs
- DispatcherExceptionFilterEventArgs.cs
- FontStretch.cs
- TrackBar.cs
- MethodExpr.cs
- StreamWriter.cs
- StateDesigner.Helpers.cs