Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / RegexStringValidatorAttribute.cs / 1 / RegexStringValidatorAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Configuration.Internal; using System.Collections; using System.Collections.Specialized; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Security.Permissions; using System.Xml; using System.Globalization; using System.ComponentModel; using System.Security; using System.Text; namespace System.Configuration { [AttributeUsage(AttributeTargets.Property)] public sealed class RegexStringValidatorAttribute : ConfigurationValidatorAttribute { private string _regex; public RegexStringValidatorAttribute(string regex) { _regex = regex; } public override ConfigurationValidatorBase ValidatorInstance { get { return new RegexStringValidator(_regex); } } public string Regex { get { return _regex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Configuration.Internal; using System.Collections; using System.Collections.Specialized; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Security.Permissions; using System.Xml; using System.Globalization; using System.ComponentModel; using System.Security; using System.Text; namespace System.Configuration { [AttributeUsage(AttributeTargets.Property)] public sealed class RegexStringValidatorAttribute : ConfigurationValidatorAttribute { private string _regex; public RegexStringValidatorAttribute(string regex) { _regex = regex; } public override ConfigurationValidatorBase ValidatorInstance { get { return new RegexStringValidator(_regex); } } public string Regex { get { return _regex; } } } } // 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
- LongMinMaxAggregationOperator.cs
- CommandID.cs
- recordstatefactory.cs
- ResourceExpressionBuilder.cs
- EditorPartCollection.cs
- ConfigurationException.cs
- URL.cs
- ResourcePermissionBase.cs
- DatatypeImplementation.cs
- DesignTableCollection.cs
- EntityViewGenerator.cs
- CloudCollection.cs
- FixedTextContainer.cs
- QilGeneratorEnv.cs
- DispatchChannelSink.cs
- OdbcStatementHandle.cs
- ServiceMemoryGates.cs
- UInt16Converter.cs
- Util.cs
- SqlGatherConsumedAliases.cs
- ColumnMapVisitor.cs
- SmiGettersStream.cs
- Helpers.cs
- XmlWrappingReader.cs
- StreamAsIStream.cs
- ImplicitInputBrush.cs
- CqlWriter.cs
- Panel.cs
- DeclaredTypeElement.cs
- WebSysDescriptionAttribute.cs
- DiscoveryClientOutputChannel.cs
- ProcessHostMapPath.cs
- ProfileEventArgs.cs
- sqlnorm.cs
- DeflateStreamAsyncResult.cs
- BinaryObjectInfo.cs
- MessageRpc.cs
- Single.cs
- SmtpLoginAuthenticationModule.cs
- ViewCellRelation.cs
- SortFieldComparer.cs
- WindowsClaimSet.cs
- SimpleTypeResolver.cs
- Encoder.cs
- InterleavedZipPartStream.cs
- SqlErrorCollection.cs
- RuleSettings.cs
- X509Certificate2.cs
- DSASignatureFormatter.cs
- DataRowCollection.cs
- SudsParser.cs
- WebException.cs
- TextUtf8RawTextWriter.cs
- ipaddressinformationcollection.cs
- SchemaImporterExtensionElementCollection.cs
- LineBreak.cs
- TouchFrameEventArgs.cs
- FixedElement.cs
- RawStylusInputReport.cs
- DebuggerService.cs
- MailMessage.cs
- SafeLocalMemHandle.cs
- PathSegmentCollection.cs
- ResourceAttributes.cs
- RegistryPermission.cs
- ResourceContainer.cs
- BaseValidatorDesigner.cs
- DeviceContext2.cs
- CustomBindingElementCollection.cs
- UIElementParaClient.cs
- ContentControl.cs
- SpellerStatusTable.cs
- SmtpAuthenticationManager.cs
- ReaderOutput.cs
- documentsequencetextview.cs
- documentation.cs
- ObjectCloneHelper.cs
- PathFigureCollection.cs
- NavigationProperty.cs
- AssertSection.cs
- UserControlAutomationPeer.cs
- ColumnTypeConverter.cs
- Models.cs
- DbConnectionPoolIdentity.cs
- DataTableCollection.cs
- TakeQueryOptionExpression.cs
- PerformanceCounterPermissionEntry.cs
- StackBuilderSink.cs
- CodeDomComponentSerializationService.cs
- altserialization.cs
- CommandValueSerializer.cs
- ChannelDispatcher.cs
- Int16Converter.cs
- DataControlLinkButton.cs
- SafeViewOfFileHandle.cs
- SR.cs
- MemberMaps.cs
- ObjectSpanRewriter.cs
- UnsafeNativeMethods.cs
- NativeMethods.cs