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
- CancelEventArgs.cs
- TextRangeEdit.cs
- CookielessHelper.cs
- QilNode.cs
- DataBoundControlHelper.cs
- EntityContainerEmitter.cs
- ByteStorage.cs
- ErrorWrapper.cs
- PropertyChangeTracker.cs
- BindingMAnagerBase.cs
- TextCompositionManager.cs
- ImageSource.cs
- LoadRetryStrategyFactory.cs
- HttpCapabilitiesSectionHandler.cs
- TextContainerHelper.cs
- DependencyPropertyHelper.cs
- SerializationObjectManager.cs
- LiteralControl.cs
- TextReader.cs
- TextInfo.cs
- RtfControls.cs
- OdbcRowUpdatingEvent.cs
- KeyPullup.cs
- CollectionType.cs
- HostUtils.cs
- DocumentViewer.cs
- PropertyOverridesTypeEditor.cs
- OperationFormatter.cs
- MarkupCompiler.cs
- LoadedOrUnloadedOperation.cs
- FormViewInsertEventArgs.cs
- Brush.cs
- DrawListViewItemEventArgs.cs
- _FtpControlStream.cs
- WebPartEditorApplyVerb.cs
- DispatcherOperation.cs
- KeyValuePairs.cs
- StrokeNodeEnumerator.cs
- DataGridViewEditingControlShowingEventArgs.cs
- OracleBoolean.cs
- SuppressIldasmAttribute.cs
- SurrogateSelector.cs
- UInt32Converter.cs
- FactoryMaker.cs
- TrustLevel.cs
- X509Logo.cs
- KnownColorTable.cs
- dataSvcMapFileLoader.cs
- ToolStripRendererSwitcher.cs
- _ConnectOverlappedAsyncResult.cs
- MemberPathMap.cs
- StickyNoteHelper.cs
- MessageLoggingElement.cs
- RecordManager.cs
- DBConcurrencyException.cs
- StringAnimationBase.cs
- SamlSecurityToken.cs
- WebPartsPersonalization.cs
- FlowDocumentReaderAutomationPeer.cs
- ActiveXHost.cs
- ControlValuePropertyAttribute.cs
- ProviderConnectionPoint.cs
- IndexingContentUnit.cs
- Array.cs
- ResourceDescriptionAttribute.cs
- EditorPart.cs
- ExeConfigurationFileMap.cs
- HostExecutionContextManager.cs
- rsa.cs
- MsmqIntegrationSecurityElement.cs
- UIElementAutomationPeer.cs
- UInt32Converter.cs
- ActivationWorker.cs
- dataobject.cs
- CalendarDay.cs
- UnsafeMethods.cs
- CompModSwitches.cs
- XmlNode.cs
- SingleSelectRootGridEntry.cs
- GridViewRowPresenterBase.cs
- SystemIPv4InterfaceProperties.cs
- TypeDescriptionProvider.cs
- ValidatingCollection.cs
- OrderByBuilder.cs
- RequestCacheEntry.cs
- DbQueryCommandTree.cs
- BatchWriter.cs
- DataGridCellInfo.cs
- LinearGradientBrush.cs
- TraceSwitch.cs
- MulticastIPAddressInformationCollection.cs
- ExtensionQuery.cs
- BasicDesignerLoader.cs
- GlobalProxySelection.cs
- DataGridViewCellStyle.cs
- RC2CryptoServiceProvider.cs
- ModelUIElement3D.cs
- ConstrainedDataObject.cs
- RuntimeWrappedException.cs
- TimerElapsedEvenArgs.cs