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
- NetNamedPipeBinding.cs
- ResumeStoryboard.cs
- KnownAssembliesSet.cs
- MarkupCompilePass2.cs
- TextRange.cs
- ExeContext.cs
- XamlUtilities.cs
- RootProfilePropertySettingsCollection.cs
- WorkflowDataContext.cs
- IUnknownConstantAttribute.cs
- xmlfixedPageInfo.cs
- ResumeStoryboard.cs
- AccessViolationException.cs
- BufferedReadStream.cs
- DbTypeMap.cs
- TimerEventSubscriptionCollection.cs
- DataGridSortCommandEventArgs.cs
- HashMembershipCondition.cs
- ByteStreamMessageEncodingElement.cs
- WebBrowser.cs
- XmlSchemaAppInfo.cs
- MetadataUtil.cs
- BitmapMetadata.cs
- documentsequencetextcontainer.cs
- TemplateBaseAction.cs
- ipaddressinformationcollection.cs
- DiffuseMaterial.cs
- ReflectionHelper.cs
- NotifyParentPropertyAttribute.cs
- CommandBinding.cs
- TextRange.cs
- Adorner.cs
- PropertyEntry.cs
- AnyReturnReader.cs
- dtdvalidator.cs
- FormatterServices.cs
- ProcessInfo.cs
- UntypedNullExpression.cs
- HeaderedItemsControl.cs
- TimeSpanStorage.cs
- DesignRelationCollection.cs
- MenuCommand.cs
- DataServiceException.cs
- PropertyIDSet.cs
- _SingleItemRequestCache.cs
- DesignerWebPartChrome.cs
- TabControl.cs
- Wow64ConfigurationLoader.cs
- SamlAttributeStatement.cs
- EventLogReader.cs
- SelectedDatesCollection.cs
- StrokeNodeOperations.cs
- ValueType.cs
- PropertyTabChangedEvent.cs
- ConsumerConnectionPoint.cs
- ContextDataSourceView.cs
- ExtenderProvidedPropertyAttribute.cs
- ToolboxSnapDragDropEventArgs.cs
- PreservationFileReader.cs
- SpStreamWrapper.cs
- templategroup.cs
- VSWCFServiceContractGenerator.cs
- TaskFormBase.cs
- ToolBarButton.cs
- DataObjectSettingDataEventArgs.cs
- SoapWriter.cs
- ScaleTransform.cs
- SortQuery.cs
- ColumnCollection.cs
- Message.cs
- AxDesigner.cs
- CompareValidator.cs
- CopyOnWriteList.cs
- diagnosticsswitches.cs
- StrokeIntersection.cs
- BitmapDecoder.cs
- ToolBarButtonClickEvent.cs
- TemplateContent.cs
- StylusPointDescription.cs
- EllipseGeometry.cs
- PerformanceCounterManager.cs
- ExtractorMetadata.cs
- Pair.cs
- TreeNodeBinding.cs
- HtmlInputCheckBox.cs
- OperationContextScope.cs
- JapaneseCalendar.cs
- TextViewDesigner.cs
- DataDocumentXPathNavigator.cs
- InternalRelationshipCollection.cs
- StylusSystemGestureEventArgs.cs
- StreamGeometry.cs
- SizeF.cs
- OutOfMemoryException.cs
- IndexedString.cs
- EntityCommandCompilationException.cs
- DataGridViewBand.cs
- ImmutablePropertyDescriptorGridEntry.cs
- CacheEntry.cs
- HistoryEventArgs.cs