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 / 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
- XmlRawWriterWrapper.cs
- EntityContainer.cs
- FileVersion.cs
- ImportOptions.cs
- _ConnectionGroup.cs
- AutoGeneratedField.cs
- Publisher.cs
- UTF8Encoding.cs
- WebControlParameterProxy.cs
- GroupItemAutomationPeer.cs
- SystemParameters.cs
- AdjustableArrowCap.cs
- Separator.cs
- CodeCommentStatement.cs
- FormatterServices.cs
- StringSource.cs
- PreviewPageInfo.cs
- WebSysDescriptionAttribute.cs
- XmlSchemaComplexType.cs
- SqlCaseSimplifier.cs
- OleDbSchemaGuid.cs
- Themes.cs
- WebBrowser.cs
- Dictionary.cs
- DependencyProperty.cs
- HttpFileCollectionBase.cs
- ButtonColumn.cs
- SizeLimitedCache.cs
- FactoryMaker.cs
- SqlCacheDependency.cs
- DecoderFallback.cs
- DispatcherExceptionFilterEventArgs.cs
- ScanQueryOperator.cs
- TypeHelper.cs
- Pens.cs
- HMAC.cs
- DataTableExtensions.cs
- Request.cs
- DetailsViewInsertedEventArgs.cs
- SessionPageStatePersister.cs
- SqlClientWrapperSmiStreamChars.cs
- ElementMarkupObject.cs
- ThreadStaticAttribute.cs
- SiteMapDataSource.cs
- StreamInfo.cs
- MergablePropertyAttribute.cs
- CustomAttribute.cs
- DecoderBestFitFallback.cs
- DataGridViewRowConverter.cs
- ExtensibleClassFactory.cs
- ExceptionUtility.cs
- Parser.cs
- XDRSchema.cs
- X509ChainElement.cs
- EndPoint.cs
- EntityRecordInfo.cs
- RequestBringIntoViewEventArgs.cs
- PersonalizationStateInfo.cs
- RegexCompiler.cs
- FontInfo.cs
- VirtualPathUtility.cs
- Item.cs
- CodeBinaryOperatorExpression.cs
- UserMapPath.cs
- WinCategoryAttribute.cs
- RadioButtonRenderer.cs
- FontWeightConverter.cs
- invalidudtexception.cs
- ContentValidator.cs
- altserialization.cs
- NonValidatingSecurityTokenAuthenticator.cs
- BinaryCommonClasses.cs
- StringCollection.cs
- ButtonChrome.cs
- regiisutil.cs
- ParentUndoUnit.cs
- XhtmlCssHandler.cs
- ObjectHandle.cs
- Process.cs
- DataGridCaption.cs
- oledbmetadatacollectionnames.cs
- DataStreamFromComStream.cs
- SessionEndedEventArgs.cs
- FullTrustAssembliesSection.cs
- SqlMetaData.cs
- ExpressionConverter.cs
- XmlSchemaNotation.cs
- ObservableDictionary.cs
- StringValidatorAttribute.cs
- StrongNameSignatureInformation.cs
- ClientScriptManager.cs
- WebPartMovingEventArgs.cs
- CriticalExceptions.cs
- TreeBuilderXamlTranslator.cs
- SizeF.cs
- LayoutUtils.cs
- NotifyIcon.cs
- _NestedMultipleAsyncResult.cs
- OrderByExpression.cs
- ParseNumbers.cs