Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataServiceBehavior.cs
- XmlILModule.cs
- XmlDataSourceDesigner.cs
- SourceFilter.cs
- localization.cs
- StrongTypingException.cs
- OleDbError.cs
- LabelTarget.cs
- UIElementHelper.cs
- ECDiffieHellman.cs
- SynchronizedDispatch.cs
- versioninfo.cs
- TreeChangeInfo.cs
- ClosureBinding.cs
- Rijndael.cs
- HealthMonitoringSection.cs
- MonitorWrapper.cs
- WorkflowInspectionServices.cs
- StyleXamlTreeBuilder.cs
- ResponseStream.cs
- _NTAuthentication.cs
- StylusPlugin.cs
- Psha1DerivedKeyGenerator.cs
- BaseDataList.cs
- DataObjectFieldAttribute.cs
- DataGridViewIntLinkedList.cs
- WmlObjectListAdapter.cs
- ComponentEditorPage.cs
- NumericUpDown.cs
- StyleCollection.cs
- SqlConnectionManager.cs
- COAUTHIDENTITY.cs
- ObjectDataSourceFilteringEventArgs.cs
- ControlCollection.cs
- InitializationEventAttribute.cs
- XPathEmptyIterator.cs
- EventLogEntry.cs
- IDictionary.cs
- DataGridViewTextBoxEditingControl.cs
- GenericWebPart.cs
- SourceItem.cs
- X509Extension.cs
- DynamicActionMessageFilter.cs
- XPathNodeList.cs
- Int32CollectionConverter.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- MatrixTransform.cs
- SecurityIdentifierConverter.cs
- UnsafeNativeMethods.cs
- SaveFileDialog.cs
- Label.cs
- Models.cs
- StreamGeometryContext.cs
- FontFamilyIdentifier.cs
- ObjectResult.cs
- PersonalizableAttribute.cs
- SID.cs
- CellTreeNode.cs
- TabPage.cs
- FileDialogPermission.cs
- WebReferenceCollection.cs
- ProjectionNode.cs
- DoubleAnimationClockResource.cs
- WebPartsPersonalizationAuthorization.cs
- LineInfo.cs
- DataConnectionHelper.cs
- RowSpanVector.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- WorkflowPrinting.cs
- OracleString.cs
- ProcessManager.cs
- SpecialFolderEnumConverter.cs
- SqlTypesSchemaImporter.cs
- AppDomainShutdownMonitor.cs
- SqlNode.cs
- HtmlGenericControl.cs
- Semaphore.cs
- ToolStripItemCollection.cs
- ThreadPool.cs
- RequestQueue.cs
- PopOutPanel.cs
- EntityObject.cs
- PrePrepareMethodAttribute.cs
- PersistNameAttribute.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ImageIndexConverter.cs
- Main.cs
- DateTimeConstantAttribute.cs
- Dictionary.cs
- FocusWithinProperty.cs
- Quaternion.cs
- storepermissionattribute.cs
- DesignerObjectListAdapter.cs
- MasterPageCodeDomTreeGenerator.cs
- PromptBuilder.cs
- LabelInfo.cs
- Timer.cs
- Ticks.cs
- CmsInterop.cs
- Canvas.cs