Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / CheckPair.cs / 1305376 / 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
- StringAttributeCollection.cs
- EventItfInfo.cs
- XpsPackagingException.cs
- OracleDateTime.cs
- XPathNodeList.cs
- SinglePhaseEnlistment.cs
- BindStream.cs
- FilterEventArgs.cs
- ContextMenu.cs
- SolidColorBrush.cs
- HtmlUtf8RawTextWriter.cs
- XamlDesignerSerializationManager.cs
- StrokeNodeEnumerator.cs
- JulianCalendar.cs
- GeneralTransform3DCollection.cs
- NopReturnReader.cs
- EnumType.cs
- SQLInt32.cs
- TabItemWrapperAutomationPeer.cs
- InheritanceAttribute.cs
- MostlySingletonList.cs
- UInt16Converter.cs
- PackagePartCollection.cs
- ResetableIterator.cs
- ControlBuilder.cs
- ObjectContext.cs
- StrongNameUtility.cs
- HyperLinkStyle.cs
- TextEvent.cs
- DirectoryNotFoundException.cs
- Translator.cs
- AccessText.cs
- Registry.cs
- RepeaterDataBoundAdapter.cs
- DataServiceOperationContext.cs
- ExpressionTextBox.xaml.cs
- CodeArrayIndexerExpression.cs
- InvokeGenerator.cs
- LockedBorderGlyph.cs
- ProtocolsConfigurationEntry.cs
- DbDataAdapter.cs
- HtmlInputReset.cs
- ScriptControlManager.cs
- MarginsConverter.cs
- TextBox.cs
- IdentityManager.cs
- InputLangChangeEvent.cs
- TextRange.cs
- StdValidatorsAndConverters.cs
- QilChoice.cs
- ReliableRequestSessionChannel.cs
- SemanticResultValue.cs
- CatalogPartCollection.cs
- NativeMethods.cs
- SafeFindHandle.cs
- FragmentQueryProcessor.cs
- UniqueEventHelper.cs
- DataServiceQueryOfT.cs
- DispatcherSynchronizationContext.cs
- DependencyObjectProvider.cs
- SchemaImporterExtensionElementCollection.cs
- XmlElementCollection.cs
- TreeNodeBindingCollection.cs
- EntityTypeEmitter.cs
- Variant.cs
- ExtenderControl.cs
- FillBehavior.cs
- DuplexSecurityProtocolFactory.cs
- FormatException.cs
- ListViewCommandEventArgs.cs
- Walker.cs
- JournalNavigationScope.cs
- PeerNearMe.cs
- SystemIPv6InterfaceProperties.cs
- DbCommandDefinition.cs
- TransformedBitmap.cs
- DataGridViewAdvancedBorderStyle.cs
- DefaultPropertyAttribute.cs
- FixedDocumentSequencePaginator.cs
- HitTestFilterBehavior.cs
- TraceContextRecord.cs
- securestring.cs
- IndexedSelectQueryOperator.cs
- ISFClipboardData.cs
- UserCancellationException.cs
- SequenceFullException.cs
- URI.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ValueTypePropertyReference.cs
- HuffModule.cs
- SecurityCriticalDataForSet.cs
- SqlCacheDependencyDatabase.cs
- ConnectionInterfaceCollection.cs
- OutputCacheSection.cs
- Events.cs
- DesignerDataTableBase.cs
- WebPartCatalogAddVerb.cs
- Pointer.cs
- ViewBox.cs
- ExceptionValidationRule.cs