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
- TemplateLookupAction.cs
- DBDataPermission.cs
- CorrelationService.cs
- AstTree.cs
- TypeElement.cs
- Context.cs
- SemanticKeyElement.cs
- SourceElementsCollection.cs
- Timer.cs
- StateMachine.cs
- DependencyObjectType.cs
- EventLogPermissionHolder.cs
- UnSafeCharBuffer.cs
- SurrogateChar.cs
- DispatchProxy.cs
- XmlDataSourceDesigner.cs
- _NTAuthentication.cs
- ResourceExpression.cs
- ISFTagAndGuidCache.cs
- CodeAccessPermission.cs
- IdnElement.cs
- CompositeDataBoundControl.cs
- COMException.cs
- AnonymousIdentificationModule.cs
- PasswordDeriveBytes.cs
- MetaForeignKeyColumn.cs
- SchemaAttDef.cs
- StatusBarPanelClickEvent.cs
- CopyOfAction.cs
- TemplateComponentConnector.cs
- CommandConverter.cs
- DataRowChangeEvent.cs
- IsolatedStoragePermission.cs
- ToolStripOverflowButton.cs
- FloatMinMaxAggregationOperator.cs
- NativeMethods.cs
- DelegatingConfigHost.cs
- Brushes.cs
- BackoffTimeoutHelper.cs
- TypeElementCollection.cs
- CodeGroup.cs
- TextChangedEventArgs.cs
- XPathScanner.cs
- MailAddress.cs
- ConfigsHelper.cs
- sqlinternaltransaction.cs
- IncomingWebRequestContext.cs
- FixedElement.cs
- PKCS1MaskGenerationMethod.cs
- WeakEventManager.cs
- ExpandCollapsePattern.cs
- LogConverter.cs
- UpdateCompiler.cs
- PageCatalogPart.cs
- DbConnectionOptions.cs
- ListItemParagraph.cs
- User.cs
- CheckedPointers.cs
- WebRequestModuleElement.cs
- ImageMapEventArgs.cs
- CharacterBufferReference.cs
- WebPartTransformer.cs
- Clipboard.cs
- _FtpDataStream.cs
- WindowsToolbarAsMenu.cs
- EdmValidator.cs
- DescendantQuery.cs
- Set.cs
- DelayLoadType.cs
- Misc.cs
- OdbcDataAdapter.cs
- MbpInfo.cs
- RIPEMD160Managed.cs
- PeerNameRecordCollection.cs
- WebPartConnectionsCloseVerb.cs
- SamlSerializer.cs
- MsmqIntegrationMessageProperty.cs
- ColumnMapVisitor.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- ScriptDescriptor.cs
- Stylesheet.cs
- Attribute.cs
- XPathScanner.cs
- OperationAbortedException.cs
- ObjectDataSource.cs
- Span.cs
- ScrollEvent.cs
- NumericUpDown.cs
- MeasureData.cs
- DataGridViewLinkCell.cs
- ModelProperty.cs
- Light.cs
- JpegBitmapEncoder.cs
- Events.cs
- HttpRuntime.cs
- Variable.cs
- FileVersion.cs
- MexServiceChannelBuilder.cs
- Span.cs
- DbProviderSpecificTypePropertyAttribute.cs