Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TwoPhaseCommitProxy.cs
- DataBindingCollection.cs
- TextRenderingModeValidation.cs
- Directory.cs
- Menu.cs
- CoreSwitches.cs
- CodeGenerator.cs
- HttpListener.cs
- CodeDirectiveCollection.cs
- BoundField.cs
- DataTemplateSelector.cs
- XmlChildEnumerator.cs
- ErrorRuntimeConfig.cs
- NamedPermissionSet.cs
- TreeNodeMouseHoverEvent.cs
- SecurityContextSecurityTokenAuthenticator.cs
- ColorConvertedBitmapExtension.cs
- StylusPointProperty.cs
- QuaternionKeyFrameCollection.cs
- LinkClickEvent.cs
- StringUtil.cs
- TagPrefixInfo.cs
- Compiler.cs
- JournalEntryStack.cs
- AffineTransform3D.cs
- ClientSettingsStore.cs
- StringFunctions.cs
- ServiceReference.cs
- ToolStripGripRenderEventArgs.cs
- SoapElementAttribute.cs
- ServiceOperation.cs
- KnownColorTable.cs
- ImageListUtils.cs
- HandleInitializationContext.cs
- MultiByteCodec.cs
- ConfigXmlWhitespace.cs
- HttpListener.cs
- AttachInfo.cs
- Quaternion.cs
- PrintPageEvent.cs
- ObjectDataSourceWizardForm.cs
- AppDomainAttributes.cs
- RuleInfoComparer.cs
- ObjectReaderCompiler.cs
- DefaultMemberAttribute.cs
- BrowserDefinitionCollection.cs
- ProfileBuildProvider.cs
- IconEditor.cs
- DesignerAttributeInfo.cs
- MultiAsyncResult.cs
- SvcMapFileLoader.cs
- CapacityStreamGeometryContext.cs
- XmlSchemaAnyAttribute.cs
- DashStyle.cs
- SynchronizedChannelCollection.cs
- WorkflowOperationInvoker.cs
- BookmarkTable.cs
- ReliableChannelBinder.cs
- AsyncResult.cs
- SqlFacetAttribute.cs
- CustomErrorsSectionWrapper.cs
- StructureChangedEventArgs.cs
- SoapTypeAttribute.cs
- SerializationAttributes.cs
- SharedStatics.cs
- PropertyManager.cs
- PeerApplication.cs
- SerialErrors.cs
- WindowsEditBox.cs
- ImportCatalogPart.cs
- TemplateLookupAction.cs
- EventsTab.cs
- CssTextWriter.cs
- RowUpdatedEventArgs.cs
- ChannelCredentials.cs
- altserialization.cs
- CqlLexerHelpers.cs
- FragmentQuery.cs
- SpellerError.cs
- UrlUtility.cs
- XmlSchemaImport.cs
- PointHitTestResult.cs
- InkPresenter.cs
- ParameterBuilder.cs
- AdRotator.cs
- XmlILConstructAnalyzer.cs
- BinaryFormatterWriter.cs
- Frame.cs
- FixedDocumentSequencePaginator.cs
- EndPoint.cs
- DesignTimeType.cs
- CompiledELinqQueryState.cs
- ObservableCollection.cs
- WizardPanelChangingEventArgs.cs
- XPathArrayIterator.cs
- AssociationTypeEmitter.cs
- Context.cs
- ArcSegment.cs
- FontUnit.cs
- NetworkAddressChange.cs