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
- DataMemberFieldConverter.cs
- RequestNavigateEventArgs.cs
- LinkUtilities.cs
- EnvelopedSignatureTransform.cs
- StreamMarshaler.cs
- PenContext.cs
- MetadataSet.cs
- TickBar.cs
- SignHashRequest.cs
- WindowsFormsHelpers.cs
- SystemFonts.cs
- PanelStyle.cs
- MatrixValueSerializer.cs
- DataObjectAttribute.cs
- PersonalizationProviderHelper.cs
- ColorDialog.cs
- ObjectQuery_EntitySqlExtensions.cs
- DbConnectionStringCommon.cs
- IISUnsafeMethods.cs
- ResourceIDHelper.cs
- DataViewManager.cs
- LambdaCompiler.Generated.cs
- ToolStripDropTargetManager.cs
- SetStoryboardSpeedRatio.cs
- TextRunCacheImp.cs
- TdsParameterSetter.cs
- Pointer.cs
- ProjectionPruner.cs
- DBSqlParserColumnCollection.cs
- SqlPersonalizationProvider.cs
- DotAtomReader.cs
- DelegateTypeInfo.cs
- XmlElementList.cs
- RichTextBoxConstants.cs
- CodeDirectoryCompiler.cs
- SubMenuStyleCollection.cs
- ActivityTypeResolver.xaml.cs
- DiscreteKeyFrames.cs
- RegexCompilationInfo.cs
- XmlSerializationWriter.cs
- UserControlCodeDomTreeGenerator.cs
- VarRemapper.cs
- ManualWorkflowSchedulerService.cs
- FrameworkContentElementAutomationPeer.cs
- TransformerConfigurationWizardBase.cs
- sqlinternaltransaction.cs
- DataRow.cs
- Crc32.cs
- ReadWriteObjectLock.cs
- ThreadAbortException.cs
- RuntimeResourceSet.cs
- FieldDescriptor.cs
- Metadata.cs
- DataPagerFieldItem.cs
- SafeSystemMetrics.cs
- DataView.cs
- EventProviderWriter.cs
- MsdtcWrapper.cs
- MouseGestureValueSerializer.cs
- ImageSourceValueSerializer.cs
- Matrix3D.cs
- ValueOfAction.cs
- InputDevice.cs
- Function.cs
- MultipartContentParser.cs
- MetadataArtifactLoaderFile.cs
- XamlValidatingReader.cs
- RoutingUtilities.cs
- sqlmetadatafactory.cs
- AuthorizationRuleCollection.cs
- OdbcErrorCollection.cs
- HttpApplicationFactory.cs
- XmlMembersMapping.cs
- DecimalStorage.cs
- ColorBlend.cs
- SelectedGridItemChangedEvent.cs
- IssuanceTokenProviderBase.cs
- PEFileReader.cs
- AlphaSortedEnumConverter.cs
- HashSetEqualityComparer.cs
- EncryptedKeyIdentifierClause.cs
- AxHost.cs
- DataGridViewLinkCell.cs
- Path.cs
- AnnotationMap.cs
- HtmlSelect.cs
- BindingManagerDataErrorEventArgs.cs
- APCustomTypeDescriptor.cs
- MobileControlsSectionHelper.cs
- EnumType.cs
- StrongNameKeyPair.cs
- ControlIdConverter.cs
- MsmqSecureHashAlgorithm.cs
- Pair.cs
- UnsafeNativeMethods.cs
- Vector3DAnimation.cs
- CodePageEncoding.cs
- TextLineResult.cs
- NamespaceInfo.cs
- ProfileInfo.cs