Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EditorZoneDesigner.cs
- ImageList.cs
- InstanceView.cs
- Shared.cs
- StylusPointPropertyId.cs
- WindowsSysHeader.cs
- SpecularMaterial.cs
- BamlBinaryReader.cs
- RenderCapability.cs
- MediaElement.cs
- ToolStripProgressBar.cs
- TransformationRules.cs
- PerformanceCounterPermissionAttribute.cs
- DefaultWorkflowSchedulerService.cs
- FormsIdentity.cs
- DaylightTime.cs
- RegexReplacement.cs
- PlanCompiler.cs
- SystemResourceKey.cs
- FormViewInsertEventArgs.cs
- BitmapEffectDrawingContextWalker.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- InsufficientMemoryException.cs
- Pair.cs
- EntityDataSourceContainerNameItem.cs
- Wildcard.cs
- BinHexDecoder.cs
- UserControlCodeDomTreeGenerator.cs
- XmlEntityReference.cs
- FileChangesMonitor.cs
- ColumnResizeUndoUnit.cs
- _NTAuthentication.cs
- Control.cs
- ADRole.cs
- WebPartZone.cs
- LazyInitializer.cs
- KeyPressEvent.cs
- TileBrush.cs
- PrintSystemException.cs
- WindowsButton.cs
- ComponentGuaranteesAttribute.cs
- ClaimSet.cs
- ProxyElement.cs
- BackgroundWorker.cs
- Binding.cs
- MetadataItem_Static.cs
- SafeBitVector32.cs
- ActiveXContainer.cs
- TimeBoundedCache.cs
- _PooledStream.cs
- EdmValidator.cs
- LayoutUtils.cs
- PointUtil.cs
- RequestCachePolicy.cs
- TemplateControlParser.cs
- SHA512.cs
- HtmlAnchor.cs
- MatrixCamera.cs
- XmlSchemaSimpleType.cs
- TextServicesContext.cs
- DrawingContext.cs
- WebBrowser.cs
- InvalidProgramException.cs
- SettingsPropertyNotFoundException.cs
- PageRanges.cs
- NamespaceEmitter.cs
- TextTabProperties.cs
- RadioButtonList.cs
- NameValueSectionHandler.cs
- lengthconverter.cs
- Ipv6Element.cs
- OleAutBinder.cs
- ToolStripItem.cs
- UnconditionalPolicy.cs
- RuntimeHelpers.cs
- ObjectConverter.cs
- QilTargetType.cs
- PerformanceCounterManager.cs
- EventProviderWriter.cs
- ExtendedPropertyCollection.cs
- BamlTreeMap.cs
- DockPanel.cs
- ADMembershipProvider.cs
- AlphaSortedEnumConverter.cs
- XomlDesignerLoader.cs
- MonitoringDescriptionAttribute.cs
- ShimAsPublicXamlType.cs
- ReadContentAsBinaryHelper.cs
- ExternalDataExchangeService.cs
- MethodBuilderInstantiation.cs
- SafeSecurityHelper.cs
- VariantWrapper.cs
- AutomationPropertyInfo.cs
- SerialReceived.cs
- CustomErrorsSection.cs
- SwitchLevelAttribute.cs
- DataServiceRequestOfT.cs
- XmlSchemaFacet.cs
- RequestTimeoutManager.cs
- ClassData.cs