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
- ReadOnlyTernaryTree.cs
- FixedSOMGroup.cs
- ForeignConstraint.cs
- TextReturnReader.cs
- XmlNotation.cs
- CodeTypeParameter.cs
- SafeNativeMethods.cs
- StretchValidation.cs
- XmlSerializerSection.cs
- RegexStringValidatorAttribute.cs
- InheritablePropertyChangeInfo.cs
- CodeArrayCreateExpression.cs
- Floater.cs
- DelayDesigner.cs
- SingleAnimationUsingKeyFrames.cs
- SortAction.cs
- PropertyGridCommands.cs
- FastPropertyAccessor.cs
- SqlDuplicator.cs
- AttachmentCollection.cs
- MarkupExtensionParser.cs
- ChameleonKey.cs
- MultiView.cs
- SecureStringHasher.cs
- PackageFilter.cs
- HttpModuleAction.cs
- CodeExpressionRuleDeclaration.cs
- DataGridTableCollection.cs
- PasswordBoxAutomationPeer.cs
- DecimalAnimationUsingKeyFrames.cs
- TableSectionStyle.cs
- AppAction.cs
- EncoderFallback.cs
- TableDesigner.cs
- DecimalAnimationUsingKeyFrames.cs
- CodeLabeledStatement.cs
- PhysicalOps.cs
- GridViewAutomationPeer.cs
- ZipIOExtraFieldZip64Element.cs
- KeyedCollection.cs
- XmlSchemaImporter.cs
- Executor.cs
- FlowDocumentPaginator.cs
- _CommandStream.cs
- FixedTextPointer.cs
- Ppl.cs
- ReferenceTypeElement.cs
- FixedTextPointer.cs
- PeerInputChannel.cs
- DefaultHttpHandler.cs
- FreezableCollection.cs
- TextPattern.cs
- AdornerDecorator.cs
- RC2CryptoServiceProvider.cs
- FloatUtil.cs
- WindowsSlider.cs
- ValueTypeFixupInfo.cs
- SafeLocalMemHandle.cs
- GregorianCalendar.cs
- HttpValueCollection.cs
- BaseCollection.cs
- EntityDataSourceStatementEditor.cs
- ChannelParameterCollection.cs
- AsyncOperationManager.cs
- ComplexObject.cs
- InternalSafeNativeMethods.cs
- Facet.cs
- EventDescriptorCollection.cs
- NullReferenceException.cs
- PropertyDescriptorComparer.cs
- SpeakCompletedEventArgs.cs
- ToolboxItemSnapLineBehavior.cs
- XmlNodeComparer.cs
- ServiceMemoryGates.cs
- EqualityComparer.cs
- HScrollProperties.cs
- NullReferenceException.cs
- Marshal.cs
- MappedMetaModel.cs
- DataSourceControlBuilder.cs
- ConditionalAttribute.cs
- XpsS0ValidatingLoader.cs
- FontInfo.cs
- InvalidPrinterException.cs
- ContextMenuService.cs
- ValidationResult.cs
- BindingExpressionUncommonField.cs
- Rights.cs
- ClassValidator.cs
- SubMenuStyleCollection.cs
- TextTreeInsertElementUndoUnit.cs
- XmlMapping.cs
- CodeDelegateCreateExpression.cs
- ExpressionNormalizer.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- DbSetClause.cs
- PathTooLongException.cs
- InstanceDataCollection.cs
- GrowingArray.cs
- ByteAnimation.cs