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
- SQLInt64.cs
- SplitterPanel.cs
- Evidence.cs
- Stackframe.cs
- XmlNullResolver.cs
- DbCommandDefinition.cs
- HandleCollector.cs
- HttpStreamXmlDictionaryWriter.cs
- XpsResourceDictionary.cs
- ListViewTableCell.cs
- RadioButtonFlatAdapter.cs
- DataGridSortCommandEventArgs.cs
- OneOfTypeConst.cs
- HwndPanningFeedback.cs
- ApplicationException.cs
- GPPOINTF.cs
- UIElementParagraph.cs
- AnnotationElement.cs
- HttpProcessUtility.cs
- MenuEventArgs.cs
- XmlSchemaChoice.cs
- DataGridTable.cs
- StringFunctions.cs
- SoapSchemaExporter.cs
- WindowInteractionStateTracker.cs
- DocumentAutomationPeer.cs
- SimpleWebHandlerParser.cs
- RectConverter.cs
- RemotingAttributes.cs
- TransformerInfo.cs
- InternalMappingException.cs
- TypeUnloadedException.cs
- Trigger.cs
- InputGestureCollection.cs
- ConfigsHelper.cs
- ADMembershipProvider.cs
- XmlSchemaParticle.cs
- QilStrConcat.cs
- MachineKeyValidationConverter.cs
- AnimationTimeline.cs
- DecimalAnimationBase.cs
- SystemException.cs
- DbBuffer.cs
- EntityWrapper.cs
- Ref.cs
- HwndHost.cs
- VectorValueSerializer.cs
- RayHitTestParameters.cs
- Function.cs
- FixUp.cs
- EncodingStreamWrapper.cs
- WindowsStartMenu.cs
- AutomationTextAttribute.cs
- RequestCachingSection.cs
- XPathNavigator.cs
- StringWriter.cs
- HtmlFormParameterWriter.cs
- ComponentSerializationService.cs
- LedgerEntryCollection.cs
- HttpFileCollection.cs
- PlanCompiler.cs
- UnionCqlBlock.cs
- HMACSHA256.cs
- MarkupExtensionSerializer.cs
- IPPacketInformation.cs
- KeysConverter.cs
- DescendentsWalker.cs
- TableSectionStyle.cs
- MostlySingletonList.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- MemberProjectionIndex.cs
- PropertyChangingEventArgs.cs
- DataTableExtensions.cs
- SchemaElement.cs
- WebAdminConfigurationHelper.cs
- ImageFormatConverter.cs
- Repeater.cs
- PersistenceMetadataNamespace.cs
- ProfessionalColorTable.cs
- TagPrefixInfo.cs
- StringArrayConverter.cs
- ReferentialConstraint.cs
- SourceExpressionException.cs
- _StreamFramer.cs
- WorkflowNamespace.cs
- SystemInfo.cs
- ProviderConnectionPoint.cs
- IdentityNotMappedException.cs
- WSTransactionSection.cs
- EmptyCollection.cs
- PeerNameRecord.cs
- Cursors.cs
- UpDownEvent.cs
- XmlUtil.cs
- Util.cs
- LambdaCompiler.Logical.cs
- EditingCoordinator.cs
- ExpressionSelection.cs
- NavigatorOutput.cs
- HttpListenerResponse.cs