Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / Configuration / CheckPair.cs / 1 / CheckPair.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web.Compilation; using System.Web.UI; using System.Web.Util; using System.Xml; using System.Globalization; internal class CheckPair { private string _header; private string _match; private bool _nonMatch; internal CheckPair(string header, string match, bool nonMatch) { _header = header; _match = match; _nonMatch = nonMatch; //check validity of match string at parse time Regex regex = new Regex(match); } internal CheckPair(string header, string match) { _header = header; _match = match; _nonMatch = false; Regex regex = new Regex(match); } public string Header { get { return _header; } } public string MatchString { get { return _match; } } public bool NonMatch { get { return _nonMatch; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web.Compilation; using System.Web.UI; using System.Web.Util; using System.Xml; using System.Globalization; internal class CheckPair { private string _header; private string _match; private bool _nonMatch; internal CheckPair(string header, string match, bool nonMatch) { _header = header; _match = match; _nonMatch = nonMatch; //check validity of match string at parse time Regex regex = new Regex(match); } internal CheckPair(string header, string match) { _header = header; _match = match; _nonMatch = false; Regex regex = new Regex(match); } public string Header { get { return _header; } } public string MatchString { get { return _match; } } public bool NonMatch { get { return _nonMatch; } } } } // 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
- RegisterResponseInfo.cs
- StoreContentChangedEventArgs.cs
- CellTreeSimplifier.cs
- SelectedDatesCollection.cs
- SelectingProviderEventArgs.cs
- EndpointConfigContainer.cs
- HttpChannelBindingToken.cs
- Variant.cs
- DataGridViewBand.cs
- SkipStoryboardToFill.cs
- DragDropManager.cs
- ImageSourceTypeConverter.cs
- IgnoreFlushAndCloseStream.cs
- processwaithandle.cs
- Pool.cs
- XmlMapping.cs
- WebPartChrome.cs
- ServiceModelConfigurationElementCollection.cs
- LicenseContext.cs
- BamlVersionHeader.cs
- PathGeometry.cs
- FileSystemEventArgs.cs
- ParameterBuilder.cs
- DetailsViewUpdateEventArgs.cs
- AdapterUtil.cs
- XmlSchemaInclude.cs
- BadImageFormatException.cs
- jithelpers.cs
- RangeValueProviderWrapper.cs
- WindowsEditBoxRange.cs
- AssemblyResourceLoader.cs
- StrokeFIndices.cs
- UnsafeNativeMethods.cs
- XslCompiledTransform.cs
- PropertyGeneratedEventArgs.cs
- BindingMAnagerBase.cs
- ModelVisual3D.cs
- ThemeDirectoryCompiler.cs
- _AuthenticationState.cs
- HMACRIPEMD160.cs
- WizardStepBase.cs
- SqlServer2KCompatibilityCheck.cs
- AnnotationHelper.cs
- SafeNativeMethods.cs
- SaveWorkflowCommand.cs
- Cloud.cs
- DesignColumn.cs
- OptimalTextSource.cs
- XmlSchemaImport.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Button.cs
- ListBox.cs
- OuterGlowBitmapEffect.cs
- SignatureConfirmations.cs
- XmlNodeChangedEventArgs.cs
- NodeLabelEditEvent.cs
- PreservationFileWriter.cs
- XmlAttribute.cs
- Calendar.cs
- OrderedDictionaryStateHelper.cs
- TraceLog.cs
- JpegBitmapEncoder.cs
- TypeUtil.cs
- CallbackException.cs
- validation.cs
- TypedTableBase.cs
- Delay.cs
- SpecularMaterial.cs
- ConnectionManager.cs
- XslAstAnalyzer.cs
- FixedFindEngine.cs
- Group.cs
- MDIWindowDialog.cs
- TypeSystem.cs
- Splitter.cs
- AdapterUtil.cs
- DataColumnPropertyDescriptor.cs
- AuthStoreRoleProvider.cs
- DisposableCollectionWrapper.cs
- pingexception.cs
- ColorConverter.cs
- CompositeScriptReferenceEventArgs.cs
- PartitionedDataSource.cs
- RadialGradientBrush.cs
- XmlSerializerNamespaces.cs
- AbandonedMutexException.cs
- VirtualDirectoryMapping.cs
- FormatterConverter.cs
- FigureParagraph.cs
- DataControlFieldCollection.cs
- HttpModuleAction.cs
- BasePropertyDescriptor.cs
- HtmlInputCheckBox.cs
- FileInfo.cs
- MetadataException.cs
- XPathBinder.cs
- RoutingSection.cs
- DataConnectionHelper.cs
- BamlBinaryReader.cs
- SimpleTypeResolver.cs