Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataError.cs
- MachineKeyConverter.cs
- SizeKeyFrameCollection.cs
- EntityDataSourceConfigureObjectContext.cs
- StdRegProviderWrapper.cs
- AddInController.cs
- UInt32Converter.cs
- NonVisualControlAttribute.cs
- CapabilitiesUse.cs
- ToolBar.cs
- WebScriptMetadataMessageEncoderFactory.cs
- RepeaterItemCollection.cs
- BuildManager.cs
- ToolStripContainerActionList.cs
- WindowsListViewGroupHelper.cs
- IODescriptionAttribute.cs
- RowToParametersTransformer.cs
- PaintValueEventArgs.cs
- SessionStateContainer.cs
- ToolStripGripRenderEventArgs.cs
- InvalidOleVariantTypeException.cs
- ClientSettingsStore.cs
- WorkflowMarkupSerializerMapping.cs
- EntityDataSourceContextCreatedEventArgs.cs
- AggregateNode.cs
- MediaPlayerState.cs
- TemplateNameScope.cs
- HtmlContainerControl.cs
- Selection.cs
- OleDbConnectionFactory.cs
- AmbientValueAttribute.cs
- SimpleFieldTemplateFactory.cs
- StringUtil.cs
- ValidatedControlConverter.cs
- WebBrowser.cs
- FontFamily.cs
- DataServiceQueryProvider.cs
- GeneralTransform3D.cs
- PeerResolverMode.cs
- propertyentry.cs
- PeerHopCountAttribute.cs
- RemoteWebConfigurationHostServer.cs
- Speller.cs
- LinearGradientBrush.cs
- AuthorizationRule.cs
- SortDescriptionCollection.cs
- DataGridViewCellFormattingEventArgs.cs
- ClientScriptItemCollection.cs
- LinqDataSourceDisposeEventArgs.cs
- XamlWriter.cs
- XmlTextReaderImpl.cs
- XNodeSchemaApplier.cs
- GridToolTip.cs
- ConfigurationException.cs
- ScriptHandlerFactory.cs
- ListControlDesigner.cs
- WorkflowServiceHost.cs
- ComPersistableTypeElement.cs
- LocalServiceSecuritySettingsElement.cs
- Hash.cs
- ColorPalette.cs
- EmptyCollection.cs
- TextElementCollection.cs
- EndPoint.cs
- HealthMonitoringSectionHelper.cs
- HttpHandlerActionCollection.cs
- ObjectManager.cs
- TransformerInfo.cs
- AutoGeneratedField.cs
- ObjectResult.cs
- TerminateSequence.cs
- IconHelper.cs
- Bold.cs
- CounterCreationDataCollection.cs
- JsonReader.cs
- DomainUpDown.cs
- ControlsConfig.cs
- List.cs
- Attribute.cs
- XmlDocumentFragment.cs
- AppDomain.cs
- Sorting.cs
- VarRemapper.cs
- ConfigurationStrings.cs
- ComponentEditorPage.cs
- ConfigXmlSignificantWhitespace.cs
- DelegatingConfigHost.cs
- LiteralDesigner.cs
- ActiveXHelper.cs
- ExpressionBinding.cs
- SevenBitStream.cs
- CancellableEnumerable.cs
- ContainerUtilities.cs
- hresults.cs
- Int32RectValueSerializer.cs
- GACMembershipCondition.cs
- NamespaceList.cs
- DragDropManager.cs
- HttpProfileBase.cs
- CachedFontFamily.cs