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
- IndicCharClassifier.cs
- Dynamic.cs
- Delegate.cs
- ButtonFlatAdapter.cs
- WebPartConnectionsCancelEventArgs.cs
- ExpressionsCollectionEditor.cs
- XmlMemberMapping.cs
- IPHostEntry.cs
- Crypto.cs
- SymmetricAlgorithm.cs
- XmlSchemaInclude.cs
- IconHelper.cs
- ExpressionBindingCollection.cs
- IdnMapping.cs
- NonClientArea.cs
- FromReply.cs
- DataContractSet.cs
- SafeNativeMethodsCLR.cs
- SHA256Managed.cs
- DataExpression.cs
- ConnectivityStatus.cs
- RangeValuePattern.cs
- WebControlParameterProxy.cs
- LoggedException.cs
- GetPageCompletedEventArgs.cs
- XmlNodeChangedEventArgs.cs
- FixedSOMElement.cs
- ColumnPropertiesGroup.cs
- MetabaseServerConfig.cs
- TextCompositionEventArgs.cs
- CfgArc.cs
- StrictAndMessageFilter.cs
- MouseDevice.cs
- ByteAnimationUsingKeyFrames.cs
- QueryReaderSettings.cs
- TrackingAnnotationCollection.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- DesignerHelpers.cs
- DeferredReference.cs
- TypeInfo.cs
- LambdaCompiler.Expressions.cs
- DataGridViewCellMouseEventArgs.cs
- StateManager.cs
- DataGridColumnCollection.cs
- ContractCodeDomInfo.cs
- PartialTrustHelpers.cs
- FrameworkTextComposition.cs
- SafeBitVector32.cs
- Funcletizer.cs
- ViewService.cs
- SecurityTokenSerializer.cs
- AutomationPattern.cs
- _FtpDataStream.cs
- TabControlCancelEvent.cs
- RoutedCommand.cs
- SqlTypesSchemaImporter.cs
- _Events.cs
- TypeTypeConverter.cs
- Events.cs
- UrlMapping.cs
- TextSelection.cs
- FileDialogPermission.cs
- GeometryCombineModeValidation.cs
- _BasicClient.cs
- Transform.cs
- TextElementAutomationPeer.cs
- BufferedOutputAsyncStream.cs
- CategoryGridEntry.cs
- CodeMemberProperty.cs
- SlotInfo.cs
- MobileControlPersister.cs
- TimeoutValidationAttribute.cs
- TextTreeInsertElementUndoUnit.cs
- _AutoWebProxyScriptWrapper.cs
- MaxSessionCountExceededException.cs
- FormatConvertedBitmap.cs
- GlyphsSerializer.cs
- BrowserCapabilitiesFactory.cs
- SecurityTokenContainer.cs
- COM2ComponentEditor.cs
- AppDomainAttributes.cs
- Matrix3D.cs
- XsdBuildProvider.cs
- UInt32Converter.cs
- ThousandthOfEmRealPoints.cs
- UnicodeEncoding.cs
- ToolBarDesigner.cs
- DispatcherHookEventArgs.cs
- EntityProviderServices.cs
- SkinBuilder.cs
- RSAPKCS1SignatureFormatter.cs
- ProviderException.cs
- SecurityDescriptor.cs
- TextEditor.cs
- XmlNullResolver.cs
- Action.cs
- DeclaredTypeValidator.cs
- SqlServices.cs
- TraceRecord.cs
- KnowledgeBase.cs