Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ImageListUtils.cs
- ContextMenuStripGroup.cs
- Compiler.cs
- Function.cs
- BufferAllocator.cs
- IFormattable.cs
- DesignTimeParseData.cs
- ObjectAnimationBase.cs
- TCPListener.cs
- SHA512CryptoServiceProvider.cs
- PropertyTabChangedEvent.cs
- Environment.cs
- FixedTextView.cs
- PseudoWebRequest.cs
- BitmapSourceSafeMILHandle.cs
- PreDigestedSignedInfo.cs
- basemetadatamappingvisitor.cs
- SerialErrors.cs
- PassportPrincipal.cs
- BitmapData.cs
- GlyphRunDrawing.cs
- DPTypeDescriptorContext.cs
- SmtpCommands.cs
- SrgsItemList.cs
- ConfigurationValidatorAttribute.cs
- StringReader.cs
- XmlMemberMapping.cs
- CustomValidator.cs
- WorkflowNamespace.cs
- RunWorkerCompletedEventArgs.cs
- Utils.cs
- AutomationProperty.cs
- ConstraintEnumerator.cs
- ContentHostHelper.cs
- ResizeGrip.cs
- PathGeometry.cs
- DataGridHelper.cs
- FunctionNode.cs
- InternalSendMessage.cs
- ControlPropertyNameConverter.cs
- RemoveFromCollection.cs
- BrowserTree.cs
- XPathNavigatorReader.cs
- ContainerUIElement3D.cs
- OutputCacheSettingsSection.cs
- ExpressionBindingCollection.cs
- AspNetHostingPermission.cs
- ConnectionProviderAttribute.cs
- MULTI_QI.cs
- FileAuthorizationModule.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SafeRightsManagementSessionHandle.cs
- DrawingServices.cs
- XmlCharCheckingReader.cs
- RegisteredDisposeScript.cs
- TextDecorationCollectionConverter.cs
- Style.cs
- ImageClickEventArgs.cs
- bindurihelper.cs
- WebServiceFault.cs
- InternalConfigConfigurationFactory.cs
- ConnectionInterfaceCollection.cs
- XmlSchemaObjectTable.cs
- _OverlappedAsyncResult.cs
- ScriptControl.cs
- StringFreezingAttribute.cs
- serverconfig.cs
- FileLogRecord.cs
- Monitor.cs
- ExpressionCopier.cs
- StorageEndPropertyMapping.cs
- InvalidOleVariantTypeException.cs
- CqlErrorHelper.cs
- StrokeNodeEnumerator.cs
- GroupStyle.cs
- TextLineBreak.cs
- DataGridRow.cs
- BaseTreeIterator.cs
- SqlProvider.cs
- CompleteWizardStep.cs
- SessionStateSection.cs
- CompiledQuery.cs
- ToolStripSplitButton.cs
- HebrewNumber.cs
- RegexInterpreter.cs
- DesignerContextDescriptor.cs
- WebEncodingValidator.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- DependencyPropertyChangedEventArgs.cs
- ComponentSerializationService.cs
- OdbcDataAdapter.cs
- TextTreeUndo.cs
- DbConnectionPoolOptions.cs
- PointValueSerializer.cs
- SplitterPanelDesigner.cs
- ReceiveReply.cs
- TemplateXamlParser.cs
- TypeLibraryHelper.cs
- XmlSchemaObjectTable.cs
- ObjectReferenceStack.cs