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
- EntityCodeGenerator.cs
- RSAPKCS1SignatureFormatter.cs
- CommandLibraryHelper.cs
- InstanceOwner.cs
- Rfc2898DeriveBytes.cs
- PageTheme.cs
- SecurityTokenException.cs
- MemoryPressure.cs
- WorkflowViewService.cs
- XPathDocumentIterator.cs
- OdbcDataAdapter.cs
- SelectionItemProviderWrapper.cs
- MemberHolder.cs
- Gdiplus.cs
- Stack.cs
- NodeLabelEditEvent.cs
- Mapping.cs
- Identifier.cs
- RenderOptions.cs
- BooleanStorage.cs
- RadialGradientBrush.cs
- RequestUriProcessor.cs
- XmlWriterDelegator.cs
- SimpleTypesSurrogate.cs
- RubberbandSelector.cs
- PlacementWorkspace.cs
- FilteredAttributeCollection.cs
- CodeDomLoader.cs
- BlockCollection.cs
- DesignerAutoFormatCollection.cs
- SessionParameter.cs
- CacheMemory.cs
- DataGridParentRows.cs
- NameTable.cs
- FontCollection.cs
- DateTimeFormatInfoScanner.cs
- CompoundFileStorageReference.cs
- DateTimeConverter.cs
- ConstraintCollection.cs
- EpmCustomContentSerializer.cs
- RadialGradientBrush.cs
- ExpressionTextBox.xaml.cs
- WsatTransactionHeader.cs
- MsmqIntegrationValidationBehavior.cs
- AliasedSlot.cs
- ProcessHostConfigUtils.cs
- ParameterCollectionEditorForm.cs
- EmptyReadOnlyDictionaryInternal.cs
- NullableConverter.cs
- PerspectiveCamera.cs
- RSACryptoServiceProvider.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- PkcsUtils.cs
- TreeIterators.cs
- ArraySubsetEnumerator.cs
- RTLAwareMessageBox.cs
- TypeConverterHelper.cs
- RootProfilePropertySettingsCollection.cs
- linebase.cs
- ServiceDeploymentInfo.cs
- StaticContext.cs
- AdapterUtil.cs
- SiteMembershipCondition.cs
- TrackBarRenderer.cs
- XmlSerializer.cs
- Expression.cs
- DrawingContextWalker.cs
- PersistChildrenAttribute.cs
- SliderAutomationPeer.cs
- ProfileService.cs
- UrlMappingsModule.cs
- SubpageParagraph.cs
- RootBrowserWindow.cs
- SuppressMessageAttribute.cs
- TextCompositionManager.cs
- HttpRuntimeSection.cs
- CopyAttributesAction.cs
- MexBindingElement.cs
- SqlDependencyUtils.cs
- InvalidFilterCriteriaException.cs
- WorkflowView.cs
- XXXOnTypeBuilderInstantiation.cs
- BuildManagerHost.cs
- BamlBinaryWriter.cs
- BindingsCollection.cs
- DataGridCaption.cs
- NullableConverter.cs
- SqlUserDefinedTypeAttribute.cs
- ImageSource.cs
- FileStream.cs
- ListView.cs
- XmlSchemaChoice.cs
- CacheEntry.cs
- SamlDelegatingWriter.cs
- ServiceDeploymentInfo.cs
- TripleDES.cs
- TextProperties.cs
- TraceXPathNavigator.cs
- MsdtcWrapper.cs
- ReliableMessagingHelpers.cs