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
- ReferenceConverter.cs
- WindowHideOrCloseTracker.cs
- Serializer.cs
- WindowAutomationPeer.cs
- FrameworkElementFactory.cs
- ButtonFieldBase.cs
- WSDualHttpSecurity.cs
- Point3DCollectionConverter.cs
- CompilerScopeManager.cs
- HttpCacheParams.cs
- WebPartVerbCollection.cs
- NameValueCollection.cs
- HttpCapabilitiesEvaluator.cs
- TemplateInstanceAttribute.cs
- DataGridLinkButton.cs
- SiteMapDataSource.cs
- TypeUtil.cs
- Ref.cs
- XmlDataSource.cs
- METAHEADER.cs
- DataGridViewRowsRemovedEventArgs.cs
- PolicyManager.cs
- HttpCookieCollection.cs
- GridViewSortEventArgs.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ItemContainerGenerator.cs
- LicenseContext.cs
- SafeProcessHandle.cs
- TraceSource.cs
- ActivityTypeCodeDomSerializer.cs
- ClassHandlersStore.cs
- SQLBytes.cs
- ConfigXmlSignificantWhitespace.cs
- ParameterCollection.cs
- BitmapEffectGroup.cs
- WizardPanel.cs
- ManagementDateTime.cs
- DbParameterCollectionHelper.cs
- FixUpCollection.cs
- TreeNodeCollection.cs
- ErrorWebPart.cs
- DataBinder.cs
- EncodingInfo.cs
- ClusterSafeNativeMethods.cs
- DrawingContext.cs
- HeaderedItemsControl.cs
- serverconfig.cs
- CaseInsensitiveComparer.cs
- ListControlBoundActionList.cs
- ProtocolElement.cs
- ApplicationSecurityInfo.cs
- FileDialogCustomPlace.cs
- PagedDataSource.cs
- RegexCode.cs
- MulticastNotSupportedException.cs
- SchemaSetCompiler.cs
- FileAuthorizationModule.cs
- Gdiplus.cs
- StringFreezingAttribute.cs
- SessionPageStateSection.cs
- ProviderSettingsCollection.cs
- ProfilePropertySettingsCollection.cs
- LinkedResource.cs
- WindowsHyperlink.cs
- RichTextBoxConstants.cs
- RealizationDrawingContextWalker.cs
- RegularExpressionValidator.cs
- XhtmlBasicTextViewAdapter.cs
- OleDbDataReader.cs
- LoginUtil.cs
- ProcessHost.cs
- DataTrigger.cs
- CanonicalXml.cs
- BindingManagerDataErrorEventArgs.cs
- DescendentsWalkerBase.cs
- DesignerActionUIService.cs
- WebResourceAttribute.cs
- BypassElementCollection.cs
- WebPartDescriptionCollection.cs
- RegisteredHiddenField.cs
- ChangeInterceptorAttribute.cs
- loginstatus.cs
- MethodSignatureGenerator.cs
- DbParameterHelper.cs
- BitSet.cs
- AnimatedTypeHelpers.cs
- DataTableCollection.cs
- FtpCachePolicyElement.cs
- ExeConfigurationFileMap.cs
- SplashScreen.cs
- DragCompletedEventArgs.cs
- webbrowsersite.cs
- IssuedTokensHeader.cs
- BoundColumn.cs
- ProvidersHelper.cs
- SpStreamWrapper.cs
- StateDesigner.Layouts.cs
- SimpleBitVector32.cs
- SystemIcmpV4Statistics.cs
- XDRSchema.cs