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
- WorkflowServiceBuildProvider.cs
- StateChangeEvent.cs
- DataServiceQuery.cs
- Accessible.cs
- HtmlElement.cs
- AssemblyAttributesGoHere.cs
- ArgumentValidation.cs
- InputScopeNameConverter.cs
- EntityDataSourceView.cs
- TableProviderWrapper.cs
- VectorKeyFrameCollection.cs
- DiscoveryService.cs
- XsltSettings.cs
- DataGridViewCheckBoxColumn.cs
- PageRanges.cs
- SafeNativeMethods.cs
- WSTrustFeb2005.cs
- TypeHelper.cs
- LinearKeyFrames.cs
- Viewport2DVisual3D.cs
- ObjectConverter.cs
- AsyncResult.cs
- Logging.cs
- PeerCollaborationPermission.cs
- ActivityDesignerHighlighter.cs
- EventLogger.cs
- Page.cs
- SqlTypesSchemaImporter.cs
- DecimalAnimation.cs
- PatternMatcher.cs
- IListConverters.cs
- QueryGeneratorBase.cs
- SerializationObjectManager.cs
- UnsafeCollabNativeMethods.cs
- MessageSecurityProtocolFactory.cs
- StringAnimationUsingKeyFrames.cs
- DocumentReferenceCollection.cs
- XmlBinaryWriterSession.cs
- SQLGuidStorage.cs
- Validator.cs
- HttpApplication.cs
- WebFaultClientMessageInspector.cs
- __Error.cs
- DetailsViewUpdatedEventArgs.cs
- StringConverter.cs
- StrokeCollectionConverter.cs
- MethodBody.cs
- SqlAliasesReferenced.cs
- DataGridColumnCollection.cs
- DBSchemaRow.cs
- VBCodeProvider.cs
- List.cs
- SemaphoreSlim.cs
- PackUriHelper.cs
- grammarelement.cs
- CacheDependency.cs
- LayoutTable.cs
- RestClientProxyHandler.cs
- Int16KeyFrameCollection.cs
- EdmConstants.cs
- DSASignatureFormatter.cs
- WebEncodingValidatorAttribute.cs
- IsolationInterop.cs
- ScriptMethodAttribute.cs
- MappingMetadataHelper.cs
- DisposableCollectionWrapper.cs
- CompositeControl.cs
- NamedElement.cs
- MaskedTextProvider.cs
- CFGGrammar.cs
- WebPartUserCapability.cs
- ToolStripOverflow.cs
- PersonalizationStateInfo.cs
- SHA384Cng.cs
- XmlHelper.cs
- XNodeNavigator.cs
- UserNameSecurityTokenProvider.cs
- RequestResizeEvent.cs
- MouseDevice.cs
- TypeResolvingOptions.cs
- CellParaClient.cs
- SiteIdentityPermission.cs
- SingleQueryOperator.cs
- PTProvider.cs
- MarkupProperty.cs
- BindStream.cs
- HitTestWithGeometryDrawingContextWalker.cs
- OpacityConverter.cs
- StreamUpgradeProvider.cs
- StorageModelBuildProvider.cs
- RawStylusInputCustomDataList.cs
- ValidationError.cs
- ProxyWebPartConnectionCollection.cs
- XmlAttributeAttribute.cs
- Exceptions.cs
- VirtualDirectoryMappingCollection.cs
- TextSelectionHighlightLayer.cs
- FlowDocumentReader.cs
- DiscriminatorMap.cs
- DiagnosticsConfiguration.cs