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
- TileBrush.cs
- XPathNodeInfoAtom.cs
- DataServiceResponse.cs
- Compiler.cs
- DetailsViewUpdatedEventArgs.cs
- UnsafeNetInfoNativeMethods.cs
- WebPartDeleteVerb.cs
- PkcsMisc.cs
- ConnectionDemuxer.cs
- MimePart.cs
- SpecularMaterial.cs
- ScaleTransform3D.cs
- SystemInfo.cs
- WeakReferenceEnumerator.cs
- StrokeNodeOperations2.cs
- WorkflowLayouts.cs
- Encoder.cs
- CounterCreationDataCollection.cs
- VerificationException.cs
- EventWaitHandle.cs
- SoapAttributeAttribute.cs
- SmiRecordBuffer.cs
- OperationCanceledException.cs
- CatalogZone.cs
- SettingsContext.cs
- CompensationDesigner.cs
- AppSecurityManager.cs
- Win32.cs
- PersonalizationState.cs
- CounterSampleCalculator.cs
- DbCommandDefinition.cs
- UIElementHelper.cs
- HuffModule.cs
- MessageQueuePermissionEntryCollection.cs
- ParseHttpDate.cs
- XamlPathDataSerializer.cs
- UserControl.cs
- ObjectParameter.cs
- SettingsPropertyValueCollection.cs
- FrameDimension.cs
- NonParentingControl.cs
- ResourceSet.cs
- JsonReader.cs
- Int64Storage.cs
- GenericAuthenticationEventArgs.cs
- CatalogZoneBase.cs
- FileLevelControlBuilderAttribute.cs
- GridViewColumnHeader.cs
- EntityDataSourceColumn.cs
- HwndStylusInputProvider.cs
- PropertyGrid.cs
- panel.cs
- StylusPointPropertyUnit.cs
- WindowsGraphics2.cs
- Item.cs
- BrowserDefinitionCollection.cs
- EventlogProvider.cs
- DeclarativeConditionsCollection.cs
- MsmqBindingElementBase.cs
- TypeGeneratedEventArgs.cs
- ManagementDateTime.cs
- OleCmdHelper.cs
- PropertyItemInternal.cs
- EventDrivenDesigner.cs
- UpnEndpointIdentityExtension.cs
- LOSFormatter.cs
- BamlBinaryReader.cs
- XmlHierarchicalDataSourceView.cs
- AutomationElement.cs
- ControlCommandSet.cs
- HoistedLocals.cs
- Ipv6Element.cs
- EntityContainerAssociationSet.cs
- OdbcConnectionFactory.cs
- GACMembershipCondition.cs
- URLString.cs
- Zone.cs
- MatrixAnimationBase.cs
- SspiWrapper.cs
- AdapterUtil.cs
- UnaryExpression.cs
- XmlCharType.cs
- Trace.cs
- ResourceProviderFactory.cs
- View.cs
- XmlSchemaComplexContentRestriction.cs
- DBSchemaTable.cs
- DummyDataSource.cs
- ResXResourceReader.cs
- _KerberosClient.cs
- ASCIIEncoding.cs
- WinEventHandler.cs
- SwitchCase.cs
- VerticalAlignConverter.cs
- XmlHierarchicalDataSourceView.cs
- Peer.cs
- ControlPropertyNameConverter.cs
- ProviderConnectionPointCollection.cs
- DataGridPreparingCellForEditEventArgs.cs
- SqlConnectionPoolProviderInfo.cs