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
- StyleTypedPropertyAttribute.cs
- WmlSelectionListAdapter.cs
- UniqueConstraint.cs
- ListenerConstants.cs
- XmlSerializationGeneratedCode.cs
- DoubleCollectionConverter.cs
- KeyFrames.cs
- BoolExpr.cs
- RbTree.cs
- XmlAnyElementAttributes.cs
- ComboBoxRenderer.cs
- ChunkedMemoryStream.cs
- PrintSchema.cs
- TargetConverter.cs
- ParameterRefs.cs
- XmlSchemaGroup.cs
- HelpFileFileNameEditor.cs
- UrlAuthFailedErrorFormatter.cs
- Int32Rect.cs
- Descriptor.cs
- MemberDescriptor.cs
- GB18030Encoding.cs
- BackgroundWorker.cs
- DelegateHelpers.Generated.cs
- AssemblySettingAttributes.cs
- _ProxyRegBlob.cs
- PreloadedPackages.cs
- ExtensionQuery.cs
- ByteAnimation.cs
- SerializeAbsoluteContext.cs
- SessionIDManager.cs
- KnownIds.cs
- GeneralTransformGroup.cs
- XmlStringTable.cs
- ToolStripSystemRenderer.cs
- SpeechDetectedEventArgs.cs
- SpellerStatusTable.cs
- SetIterators.cs
- SystemEvents.cs
- TextPointer.cs
- SqlTypeConverter.cs
- AttributeAction.cs
- SmtpClient.cs
- HttpModulesInstallComponent.cs
- TagPrefixCollection.cs
- KeyNotFoundException.cs
- DynamicValueConverter.cs
- SourceFilter.cs
- SchemaNames.cs
- RuntimeWrappedException.cs
- ServiceContractViewControl.Designer.cs
- XPathDocument.cs
- FormatException.cs
- XmlHelper.cs
- ConsumerConnectionPointCollection.cs
- XmlEncoding.cs
- GenericWebPart.cs
- EnumMember.cs
- DesignerSerializationVisibilityAttribute.cs
- PreProcessInputEventArgs.cs
- LicenseManager.cs
- TimeoutException.cs
- UidPropertyAttribute.cs
- StaticExtension.cs
- CultureInfoConverter.cs
- MessageQueueConverter.cs
- MeasurementDCInfo.cs
- URLIdentityPermission.cs
- Pair.cs
- GridViewSortEventArgs.cs
- WebPartDescription.cs
- DocumentSchemaValidator.cs
- DataFieldConverter.cs
- TranslateTransform3D.cs
- Table.cs
- Propagator.JoinPropagator.cs
- HttpCapabilitiesEvaluator.cs
- Pts.cs
- EditorPart.cs
- SystemIcons.cs
- ContentDefinition.cs
- NegatedCellConstant.cs
- WpfMemberInvoker.cs
- SystemIPv4InterfaceProperties.cs
- ValueTypeFieldReference.cs
- SafeNativeMethods.cs
- UserMapPath.cs
- HwndSourceKeyboardInputSite.cs
- BindingExpressionBase.cs
- HyperLinkField.cs
- InputScope.cs
- DateTimeOffsetAdapter.cs
- MediaSystem.cs
- BindValidationContext.cs
- KnownBoxes.cs
- SoapHeaderException.cs
- ApplicationSettingsBase.cs
- Missing.cs
- XmlSchemaComplexContent.cs
- FindResponse.cs