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
- JsonFormatWriterGenerator.cs
- LocalBuilder.cs
- RestrictedTransactionalPackage.cs
- ControlIdConverter.cs
- StreamGeometry.cs
- ZipIOBlockManager.cs
- RMEnrollmentPage3.cs
- RichTextBox.cs
- XmlNodeReader.cs
- NativeWrapper.cs
- RadioButtonFlatAdapter.cs
- DesignerEventService.cs
- TypeProvider.cs
- PropertyEmitter.cs
- TreeNodeStyleCollection.cs
- DropShadowBitmapEffect.cs
- Selector.cs
- PopupRoot.cs
- Propagator.ExtentPlaceholderCreator.cs
- WindowsGraphics.cs
- DataTemplate.cs
- XmlEncoding.cs
- SqlDependency.cs
- HandleValueEditor.cs
- DSACryptoServiceProvider.cs
- DropDownButton.cs
- MsmqIntegrationSecurityMode.cs
- WebBrowserUriTypeConverter.cs
- WebPartHeaderCloseVerb.cs
- IPHostEntry.cs
- OleDbMetaDataFactory.cs
- ObjectManager.cs
- PropertyDescriptor.cs
- BoundsDrawingContextWalker.cs
- NamespaceList.cs
- SessionStateModule.cs
- TCPClient.cs
- ModuleElement.cs
- DerivedKeySecurityToken.cs
- WeakReferenceList.cs
- WindowsImpersonationContext.cs
- Manipulation.cs
- HttpHandlersSection.cs
- InvokerUtil.cs
- Effect.cs
- DesignerTextViewAdapter.cs
- ZipIOCentralDirectoryFileHeader.cs
- Primitive.cs
- ByteStack.cs
- __Filters.cs
- SqlWriter.cs
- TaskFileService.cs
- Pair.cs
- XmlDocument.cs
- StylusPlugin.cs
- ToolStripPanel.cs
- UICuesEvent.cs
- FamilyCollection.cs
- BookmarkScope.cs
- NativeMethods.cs
- UICuesEvent.cs
- TextPenaltyModule.cs
- SQLBoolean.cs
- CompilationSection.cs
- TextSegment.cs
- SecurityTokenInclusionMode.cs
- RSAProtectedConfigurationProvider.cs
- CompiledQueryCacheKey.cs
- WmpBitmapEncoder.cs
- ButtonFlatAdapter.cs
- CacheHelper.cs
- PreviewPrintController.cs
- ListViewDeleteEventArgs.cs
- ConfigXmlCDataSection.cs
- FormatConvertedBitmap.cs
- WebPageTraceListener.cs
- TreeNodeCollection.cs
- OAVariantLib.cs
- XmlEventCache.cs
- XPathEmptyIterator.cs
- DbConvert.cs
- PreProcessInputEventArgs.cs
- versioninfo.cs
- TemplateLookupAction.cs
- ProfileModule.cs
- FieldAccessException.cs
- SHA1CryptoServiceProvider.cs
- Point.cs
- ListBindableAttribute.cs
- SafeCryptHandles.cs
- NetSectionGroup.cs
- HostingPreferredMapPath.cs
- sqlnorm.cs
- ByteKeyFrameCollection.cs
- RegistryPermission.cs
- RegexMatch.cs
- EventHandlersStore.cs
- GradientStopCollection.cs
- ElementUtil.cs
- SchemaLookupTable.cs