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
- COM2Enum.cs
- SurrogateEncoder.cs
- SmtpNetworkElement.cs
- DesignerTextWriter.cs
- SoundPlayer.cs
- TimeSpanMinutesConverter.cs
- CmsUtils.cs
- XpsFilter.cs
- HostExecutionContextManager.cs
- PolyBezierSegment.cs
- CompressEmulationStream.cs
- AppliedDeviceFiltersEditor.cs
- ItemsPresenter.cs
- PackagePart.cs
- IDReferencePropertyAttribute.cs
- ProxyElement.cs
- IndexObject.cs
- TextSpanModifier.cs
- DescendantBaseQuery.cs
- StructuralCache.cs
- MouseDevice.cs
- AsyncPostBackErrorEventArgs.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- MachineKeyValidationConverter.cs
- SynchronizationContext.cs
- ExternalFile.cs
- FormsAuthenticationConfiguration.cs
- Scene3D.cs
- DeferredSelectedIndexReference.cs
- CharacterString.cs
- FactoryMaker.cs
- DataGridViewToolTip.cs
- DomainLiteralReader.cs
- SQLBinaryStorage.cs
- XmlSchemaObject.cs
- CommonGetThemePartSize.cs
- ListBoxItemWrapperAutomationPeer.cs
- ButtonStandardAdapter.cs
- CurrencyManager.cs
- ViewManager.cs
- VisualStyleInformation.cs
- SslStream.cs
- ExceptionWrapper.cs
- CacheSection.cs
- InputMethodStateTypeInfo.cs
- WebPartMinimizeVerb.cs
- ByteAnimationUsingKeyFrames.cs
- ProtocolsSection.cs
- GridViewRowEventArgs.cs
- IndependentAnimationStorage.cs
- SelectionChangedEventArgs.cs
- ProgressBar.cs
- DataBindingHandlerAttribute.cs
- NamedPipeAppDomainProtocolHandler.cs
- SqlMultiplexer.cs
- CompositeDataBoundControl.cs
- Hex.cs
- HttpRequest.cs
- SplashScreen.cs
- Point3DConverter.cs
- SerialPort.cs
- DataViewSetting.cs
- Cell.cs
- PartialClassGenerationTask.cs
- HttpUnhandledOperationInvoker.cs
- CellTreeNodeVisitors.cs
- HttpCookie.cs
- TreeNodeEventArgs.cs
- formatter.cs
- AddInEnvironment.cs
- TextEditorCopyPaste.cs
- DataBindingList.cs
- ProfilePropertySettingsCollection.cs
- MimePart.cs
- PixelFormats.cs
- BamlRecordWriter.cs
- ApplicationSettingsBase.cs
- Identity.cs
- BaseCodePageEncoding.cs
- RemoteDebugger.cs
- HttpHandlerActionCollection.cs
- CatalogZone.cs
- ConsoleTraceListener.cs
- XmlSchemaSimpleType.cs
- FacetDescriptionElement.cs
- DesigntimeLicenseContextSerializer.cs
- File.cs
- SectionInformation.cs
- GenericUriParser.cs
- InstallerTypeAttribute.cs
- XmlAttributeAttribute.cs
- StyleSelector.cs
- TextTreeExtractElementUndoUnit.cs
- RedirectionProxy.cs
- PackageDigitalSignatureManager.cs
- BitmapFrame.cs
- XmlNodeChangedEventManager.cs
- DockingAttribute.cs
- BuildProvidersCompiler.cs
- SchemaImporterExtensionsSection.cs