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
- IdentityNotMappedException.cs
- control.ime.cs
- ViewSimplifier.cs
- ImageIndexConverter.cs
- CachedCompositeFamily.cs
- ActiveXContainer.cs
- CustomTypeDescriptor.cs
- compensatingcollection.cs
- WebPartChrome.cs
- NativeMethods.cs
- CngUIPolicy.cs
- CustomSignedXml.cs
- CategoryNameCollection.cs
- KoreanLunisolarCalendar.cs
- ButtonFieldBase.cs
- TextBoxLine.cs
- WebPartConnection.cs
- CalendarDay.cs
- StandardOleMarshalObject.cs
- DisableDpiAwarenessAttribute.cs
- ListBoxItem.cs
- AssociationTypeEmitter.cs
- ImmComposition.cs
- GradientStop.cs
- MetabaseReader.cs
- Convert.cs
- ClrPerspective.cs
- PointLightBase.cs
- AutomationIdentifier.cs
- XmlQueryStaticData.cs
- SynchronizedDispatch.cs
- FacetValues.cs
- BinarySecretKeyIdentifierClause.cs
- AssociationSetMetadata.cs
- FilterException.cs
- ThicknessAnimationBase.cs
- DelegatingStream.cs
- StyleXamlParser.cs
- WindowsScrollBarBits.cs
- NamespaceQuery.cs
- ConstructorBuilder.cs
- ExpressionPrefixAttribute.cs
- ChannelManager.cs
- ModifiableIteratorCollection.cs
- Label.cs
- OdbcCommand.cs
- DiscoveryClientDuplexChannel.cs
- BaseDataBoundControl.cs
- XmlSchemaSimpleTypeList.cs
- UITypeEditor.cs
- ProtocolsConfigurationHandler.cs
- AsymmetricSignatureFormatter.cs
- AssemblyHash.cs
- ReadWriteSpinLock.cs
- OverflowException.cs
- DesignTableCollection.cs
- StandardTransformFactory.cs
- SessionSwitchEventArgs.cs
- AssociativeAggregationOperator.cs
- ServiceNameCollection.cs
- SynchronizedDispatch.cs
- ScheduleChanges.cs
- Pen.cs
- ApplyTemplatesAction.cs
- COAUTHIDENTITY.cs
- HWStack.cs
- DataBoundControl.cs
- X509CertificateCollection.cs
- DataGridViewTopLeftHeaderCell.cs
- DrawTreeNodeEventArgs.cs
- HwndSourceParameters.cs
- NavigatorOutput.cs
- CharacterBufferReference.cs
- AsymmetricSignatureFormatter.cs
- XmlQueryOutput.cs
- OptimalBreakSession.cs
- FontInfo.cs
- ErrorHandler.cs
- DataControlLinkButton.cs
- XMLDiffLoader.cs
- ProcessThreadCollection.cs
- EntityDataSourceViewSchema.cs
- PropertyEmitter.cs
- CacheSection.cs
- RadioButtonPopupAdapter.cs
- PageBreakRecord.cs
- CompoundFileReference.cs
- NonVisualControlAttribute.cs
- ModelMemberCollection.cs
- UxThemeWrapper.cs
- SchemaType.cs
- XmlLoader.cs
- ListBox.cs
- ProcessInfo.cs
- ImageListUtils.cs
- WebBaseEventKeyComparer.cs
- EdmPropertyAttribute.cs
- ModelItemImpl.cs
- QueryLifecycle.cs
- AudioFileOut.cs