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
- CollectionsUtil.cs
- BasicHttpBindingElement.cs
- AuthenticationConfig.cs
- StylusPointPropertyInfoDefaults.cs
- ScopedKnownTypes.cs
- OutputCacheModule.cs
- IndexerNameAttribute.cs
- DbConnectionStringBuilder.cs
- BehaviorEditorPart.cs
- _ProxyChain.cs
- DropShadowBitmapEffect.cs
- VirtualDirectoryMappingCollection.cs
- HttpHeaderCollection.cs
- SSmlParser.cs
- UIElement.cs
- CustomWebEventKey.cs
- MetadataArtifactLoaderCompositeFile.cs
- WrappedDispatcherException.cs
- GcHandle.cs
- itemelement.cs
- XmlSchemaComplexContent.cs
- AnchoredBlock.cs
- DateTime.cs
- TreeNodeStyle.cs
- TriggerBase.cs
- ConnectionPoint.cs
- DataSysAttribute.cs
- DocumentViewerAutomationPeer.cs
- ListControlBuilder.cs
- NativeStructs.cs
- DataObjectCopyingEventArgs.cs
- StaticDataManager.cs
- ConstraintStruct.cs
- ToolStripScrollButton.cs
- UniqueIdentifierService.cs
- FontSourceCollection.cs
- BufferedGraphicsContext.cs
- BevelBitmapEffect.cs
- LineServicesCallbacks.cs
- StringSource.cs
- SQLByteStorage.cs
- ProfilePropertySettingsCollection.cs
- EventSetter.cs
- OutputScope.cs
- BitmapMetadataBlob.cs
- DataObjectSettingDataEventArgs.cs
- CompilerParameters.cs
- BitmapEffectvisualstate.cs
- AlternateViewCollection.cs
- TableLayoutStyleCollection.cs
- DateTimeConstantAttribute.cs
- ConnectionManager.cs
- Vector3DCollectionValueSerializer.cs
- StateInitializationDesigner.cs
- DocumentViewer.cs
- EnglishPluralizationService.cs
- EntityClientCacheEntry.cs
- EpmSourceTree.cs
- WsatEtwTraceListener.cs
- HttpHandlersSection.cs
- XmlSchemaInclude.cs
- OletxResourceManager.cs
- fixedPageContentExtractor.cs
- _AcceptOverlappedAsyncResult.cs
- Operators.cs
- XamlRtfConverter.cs
- ProfessionalColors.cs
- ConnectivityStatus.cs
- ProtocolElementCollection.cs
- ColorAnimationBase.cs
- DataSourceHelper.cs
- SelectionRangeConverter.cs
- MethodExpr.cs
- PerfCounterSection.cs
- ProjectedSlot.cs
- KnownColorTable.cs
- _SafeNetHandles.cs
- ReflectEventDescriptor.cs
- ItemsControl.cs
- COM2IPerPropertyBrowsingHandler.cs
- SessionStateSection.cs
- ExpressionBuilder.cs
- ButtonFlatAdapter.cs
- ResetableIterator.cs
- ViewBase.cs
- RegexRunnerFactory.cs
- CodeNamespace.cs
- TextTreeUndo.cs
- _OSSOCK.cs
- PointCollectionConverter.cs
- FaultDescriptionCollection.cs
- ConnectionsZoneDesigner.cs
- SoapAttributes.cs
- WmfPlaceableFileHeader.cs
- SwitchAttribute.cs
- Expressions.cs
- ControllableStoryboardAction.cs
- IncrementalHitTester.cs
- _NativeSSPI.cs
- Event.cs