Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ManifestResourceInfo.cs
- EntityWrapper.cs
- HostingPreferredMapPath.cs
- MaskedTextBox.cs
- HtmlForm.cs
- XmlLanguage.cs
- SchemaComplexType.cs
- ScriptResourceAttribute.cs
- Cursors.cs
- ToolboxItemSnapLineBehavior.cs
- SocketAddress.cs
- StrongNameMembershipCondition.cs
- HuffmanTree.cs
- PropertyManager.cs
- Collection.cs
- ConnectionsZone.cs
- ObjectPropertyMapping.cs
- XmlDataSourceView.cs
- TypeNameConverter.cs
- Quad.cs
- SecurityTokenAuthenticator.cs
- GroupBoxAutomationPeer.cs
- SqlConnection.cs
- ParameterToken.cs
- DataGridColumnFloatingHeader.cs
- ReadOnlyTernaryTree.cs
- TileBrush.cs
- TargetControlTypeCache.cs
- Drawing.cs
- XPathExpr.cs
- WindowsPen.cs
- HwndHost.cs
- PropertyEmitter.cs
- MouseOverProperty.cs
- PropertyInfoSet.cs
- Compiler.cs
- TraceRecords.cs
- ListViewSelectEventArgs.cs
- SaveFileDialog.cs
- HostSecurityManager.cs
- MemberCollection.cs
- SqlCharStream.cs
- TrailingSpaceComparer.cs
- CreateUserWizardStep.cs
- JsonQNameDataContract.cs
- DefaultTextStoreTextComposition.cs
- X509RecipientCertificateServiceElement.cs
- BamlResourceContent.cs
- Propagator.Evaluator.cs
- XsltContext.cs
- ApplicationActivator.cs
- SqlDataSourceFilteringEventArgs.cs
- SiteMapNodeCollection.cs
- MsmqIntegrationProcessProtocolHandler.cs
- AbstractExpressions.cs
- AccessedThroughPropertyAttribute.cs
- HybridObjectCache.cs
- ListViewDeletedEventArgs.cs
- Scanner.cs
- DynamicArgumentDialog.cs
- Converter.cs
- XmlTextEncoder.cs
- ClientTarget.cs
- TransformerInfoCollection.cs
- SelectionEditor.cs
- LogStore.cs
- AnnouncementInnerClient11.cs
- EventDescriptor.cs
- X509IssuerSerialKeyIdentifierClause.cs
- CallbackTimeoutsElement.cs
- MetaTableHelper.cs
- TimeZoneNotFoundException.cs
- ProjectedWrapper.cs
- TypeContext.cs
- ColorMatrix.cs
- XmlSchemaNotation.cs
- TextContainerChangedEventArgs.cs
- RectConverter.cs
- EventToken.cs
- BasePattern.cs
- FieldNameLookup.cs
- VectorAnimation.cs
- DataListItemEventArgs.cs
- ConnectionManagementElement.cs
- CancellationHandlerDesigner.cs
- SemaphoreSecurity.cs
- TextEditorMouse.cs
- _SslSessionsCache.cs
- Deserializer.cs
- SecurityException.cs
- XsdValidatingReader.cs
- RegionIterator.cs
- TemplateColumn.cs
- ListViewUpdatedEventArgs.cs
- CacheVirtualItemsEvent.cs
- AuthorizationRule.cs
- ReflectionServiceProvider.cs
- PeerApplication.cs
- WinInet.cs
- DbConnectionFactory.cs