Code:
/ DotNET / DotNET / 8.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
- SessionIDManager.cs
- WeakEventManager.cs
- HostingEnvironmentException.cs
- InputScopeConverter.cs
- AppDomainManager.cs
- ObjectIDGenerator.cs
- Switch.cs
- DrawListViewColumnHeaderEventArgs.cs
- PageCodeDomTreeGenerator.cs
- EnvelopedPkcs7.cs
- LambdaSerializationException.cs
- TextPattern.cs
- ConfigurationSectionCollection.cs
- SchemaLookupTable.cs
- RequestTimeoutManager.cs
- DefaultTraceListener.cs
- ToolStripPanelRenderEventArgs.cs
- XmlSiteMapProvider.cs
- EraserBehavior.cs
- SiteMapDataSource.cs
- RelationshipManager.cs
- ClassHandlersStore.cs
- DataGridViewCellValueEventArgs.cs
- ProxyWebPart.cs
- PropertyBuilder.cs
- ListInitExpression.cs
- SqlUDTStorage.cs
- DataKeyCollection.cs
- BoundingRectTracker.cs
- DatePickerTextBox.cs
- DrawingState.cs
- BindStream.cs
- DefaultAsyncDataDispatcher.cs
- SystemResourceKey.cs
- XmlTypeAttribute.cs
- AutoResizedEvent.cs
- XmlMapping.cs
- PersistChildrenAttribute.cs
- SortKey.cs
- AnnouncementService.cs
- RequestStatusBarUpdateEventArgs.cs
- InternalTypeHelper.cs
- AlphabeticalEnumConverter.cs
- RadioButton.cs
- HierarchicalDataBoundControl.cs
- DisplayClaim.cs
- PersistNameAttribute.cs
- ChildTable.cs
- NativeMethods.cs
- Evidence.cs
- SafeCryptoHandles.cs
- ConvertBinder.cs
- StorageEndPropertyMapping.cs
- HandleCollector.cs
- ListControlStringCollectionEditor.cs
- ALinqExpressionVisitor.cs
- ResourceExpressionBuilder.cs
- SafeEventLogWriteHandle.cs
- LinkedResourceCollection.cs
- RadioButtonRenderer.cs
- DCSafeHandle.cs
- DataRowExtensions.cs
- CompositeFontFamily.cs
- SingleStorage.cs
- TypeConverter.cs
- FileEnumerator.cs
- SiteMapProvider.cs
- DataTableMappingCollection.cs
- DragStartedEventArgs.cs
- SizeLimitedCache.cs
- DbSetClause.cs
- QilTernary.cs
- QilPatternVisitor.cs
- PersonalizationState.cs
- WindowClosedEventArgs.cs
- ItemContainerPattern.cs
- WindowsListViewGroupHelper.cs
- VirtualPathProvider.cs
- PropertyInformationCollection.cs
- TrackingLocationCollection.cs
- ComNativeDescriptor.cs
- ProgressiveCrcCalculatingStream.cs
- Nodes.cs
- ApplicationInfo.cs
- DataGridViewBand.cs
- ValueExpressions.cs
- recordstatescratchpad.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ConfigurationLocationCollection.cs
- categoryentry.cs
- WhitespaceRuleReader.cs
- MetadataArtifactLoaderResource.cs
- MetadataException.cs
- BmpBitmapEncoder.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Point3DConverter.cs
- XmlTextEncoder.cs
- ListenerChannelContext.cs
- WebSysDescriptionAttribute.cs
- FamilyMapCollection.cs