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
- Timer.cs
- CharacterShapingProperties.cs
- SecurityUtils.cs
- TabRenderer.cs
- WebPartCloseVerb.cs
- Comparer.cs
- AuthenticationException.cs
- IChannel.cs
- TransformedBitmap.cs
- ResourceManager.cs
- ModelUtilities.cs
- TextParentUndoUnit.cs
- SettingsBase.cs
- SqlCommand.cs
- IdleTimeoutMonitor.cs
- DriveInfo.cs
- DecimalAnimation.cs
- JournalEntryListConverter.cs
- CaseStatement.cs
- GiveFeedbackEventArgs.cs
- linebase.cs
- DataGridViewTopRowAccessibleObject.cs
- DoubleLinkListEnumerator.cs
- CodeIterationStatement.cs
- GenericTransactionFlowAttribute.cs
- rsa.cs
- TableLayoutPanelDesigner.cs
- ResourcePermissionBaseEntry.cs
- CustomActivityDesigner.cs
- NumericExpr.cs
- SelfIssuedAuthAsymmetricKey.cs
- SystemBrushes.cs
- MethodImplAttribute.cs
- SystemTcpStatistics.cs
- HashAlgorithm.cs
- ImpersonationOption.cs
- ParameterReplacerVisitor.cs
- BmpBitmapDecoder.cs
- DetailsViewDeletedEventArgs.cs
- Ipv6Element.cs
- GACIdentityPermission.cs
- MarkerProperties.cs
- LoggedException.cs
- GridViewHeaderRowPresenter.cs
- ParallelTimeline.cs
- Choices.cs
- CoTaskMemHandle.cs
- HeaderCollection.cs
- TemplateControlBuildProvider.cs
- Comparer.cs
- SqlOuterApplyReducer.cs
- ActivationArguments.cs
- GeometryDrawing.cs
- Inline.cs
- RegexGroupCollection.cs
- BindingExpression.cs
- LineServicesCallbacks.cs
- ZipIOFileItemStream.cs
- CryptoHelper.cs
- HMACRIPEMD160.cs
- BatchStream.cs
- ClassValidator.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- Empty.cs
- DeclarativeCatalogPart.cs
- FileVersionInfo.cs
- HandlerFactoryWrapper.cs
- ObjectDataSourceEventArgs.cs
- MultiAsyncResult.cs
- _CookieModule.cs
- DataTableTypeConverter.cs
- TimelineGroup.cs
- DeclaredTypeElement.cs
- XPathBuilder.cs
- PrivilegedConfigurationManager.cs
- XmlSchemaInclude.cs
- DoubleLink.cs
- GridViewPageEventArgs.cs
- ShapeTypeface.cs
- WindowsSolidBrush.cs
- Comparer.cs
- TextBoxRenderer.cs
- DataProtection.cs
- CollectionViewSource.cs
- MetaForeignKeyColumn.cs
- FormViewInsertedEventArgs.cs
- DataSetMappper.cs
- ResetableIterator.cs
- ContentHostHelper.cs
- Publisher.cs
- XpsImageSerializationService.cs
- AdPostCacheSubstitution.cs
- Focus.cs
- ToolboxBitmapAttribute.cs
- InputLangChangeRequestEvent.cs
- MostlySingletonList.cs
- BitConverter.cs
- DateTimeValueSerializerContext.cs
- DataRecordInternal.cs
- CollectionBase.cs