Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReachObjectContext.cs
- TokenFactoryFactory.cs
- ProfileGroupSettingsCollection.cs
- MaterializeFromAtom.cs
- AccessedThroughPropertyAttribute.cs
- GridProviderWrapper.cs
- RsaElement.cs
- LineServices.cs
- PeerValidationBehavior.cs
- ArrayTypeMismatchException.cs
- XmlSchemaProviderAttribute.cs
- DESCryptoServiceProvider.cs
- DataObjectPastingEventArgs.cs
- ComPlusTypeLoader.cs
- ObjectViewFactory.cs
- SqlMethods.cs
- BrowserTree.cs
- ListItemCollection.cs
- Thread.cs
- KeyboardDevice.cs
- RichTextBox.cs
- Typography.cs
- XmlNodeChangedEventManager.cs
- EventHandlerService.cs
- SoapWriter.cs
- ListViewGroupItemCollection.cs
- HierarchicalDataBoundControlAdapter.cs
- MissingMethodException.cs
- SessionStateItemCollection.cs
- TiffBitmapEncoder.cs
- OutOfMemoryException.cs
- WindowsPen.cs
- ByteStream.cs
- FileDetails.cs
- ipaddressinformationcollection.cs
- TextEffectResolver.cs
- TextRangeEdit.cs
- DataGridViewTopRowAccessibleObject.cs
- ManagedWndProcTracker.cs
- WCFServiceClientProxyGenerator.cs
- XslCompiledTransform.cs
- XhtmlBasicFormAdapter.cs
- PrintControllerWithStatusDialog.cs
- EasingQuaternionKeyFrame.cs
- PropVariant.cs
- CommunicationException.cs
- Helper.cs
- DataContract.cs
- DateTimeConverter.cs
- ArcSegment.cs
- SingleAnimationUsingKeyFrames.cs
- ObjectContext.cs
- CalendarButtonAutomationPeer.cs
- DataGridState.cs
- BinaryWriter.cs
- ComboBox.cs
- WebPartDisplayModeCollection.cs
- XPathArrayIterator.cs
- DbConnectionPoolGroup.cs
- ActiveXContainer.cs
- BitStack.cs
- DataSourceXmlTextReader.cs
- XmlIncludeAttribute.cs
- InkPresenter.cs
- RegexCompilationInfo.cs
- TrustManager.cs
- RoutedEventArgs.cs
- ClickablePoint.cs
- DockingAttribute.cs
- ChannelManager.cs
- ThreadSafeMessageFilterTable.cs
- CalendarAutomationPeer.cs
- DesignerProperties.cs
- XComponentModel.cs
- TextFindEngine.cs
- XmlText.cs
- UpdateTracker.cs
- BufferedMessageData.cs
- Win32.cs
- SurrogateSelector.cs
- GroupQuery.cs
- DnsEndPoint.cs
- UnsafeNativeMethodsPenimc.cs
- QueryableDataSource.cs
- PolicyValidationException.cs
- NavigationProperty.cs
- CanonicalFormWriter.cs
- ParamArrayAttribute.cs
- GCHandleCookieTable.cs
- RoleManagerEventArgs.cs
- ClientApiGenerator.cs
- PropertyDescriptors.cs
- FlowchartSizeFeature.cs
- ConnectionManagementElementCollection.cs
- DesigntimeLicenseContext.cs
- GetIndexBinder.cs
- XmlHelper.cs
- BinaryObjectInfo.cs
- FieldMetadata.cs
- HtmlContainerControl.cs