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
- CustomSignedXml.cs
- EditingCoordinator.cs
- HwndProxyElementProvider.cs
- messageonlyhwndwrapper.cs
- PropertyIDSet.cs
- NameGenerator.cs
- TaskSchedulerException.cs
- WebMessageFormatHelper.cs
- UIElementParagraph.cs
- SectionInformation.cs
- VisualCollection.cs
- LineServicesCallbacks.cs
- CalendarDesigner.cs
- UInt32Converter.cs
- SimpleWebHandlerParser.cs
- PreProcessor.cs
- XmlAttribute.cs
- ManagementObject.cs
- WorkflowStateRollbackService.cs
- UICuesEvent.cs
- GPRECTF.cs
- MemoryStream.cs
- XamlWriter.cs
- httpserverutility.cs
- EncoderNLS.cs
- _emptywebproxy.cs
- TabItemWrapperAutomationPeer.cs
- DefaultPrintController.cs
- InvalidAsynchronousStateException.cs
- DatePickerAutomationPeer.cs
- RegisteredHiddenField.cs
- BuildResult.cs
- GcSettings.cs
- Model3DGroup.cs
- SqlClientPermission.cs
- CodePrimitiveExpression.cs
- TextChange.cs
- NameValuePair.cs
- OracleTimeSpan.cs
- TdsEnums.cs
- oledbmetadatacolumnnames.cs
- DataColumnChangeEvent.cs
- FontEmbeddingManager.cs
- GPPOINTF.cs
- CellLabel.cs
- ResXBuildProvider.cs
- IProvider.cs
- DynamicPropertyReader.cs
- LookupBindingPropertiesAttribute.cs
- InputMethod.cs
- CommandValueSerializer.cs
- DataGridItemEventArgs.cs
- DataControlField.cs
- Overlapped.cs
- SyndicationElementExtensionCollection.cs
- DataTableTypeConverter.cs
- ProfileModule.cs
- Listbox.cs
- QilPatternVisitor.cs
- TemplatePropertyEntry.cs
- PeerNameRecordCollection.cs
- AdornerPresentationContext.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ByteStream.cs
- HMACSHA1.cs
- xml.cs
- DesignSurfaceCollection.cs
- IsolatedStorageFile.cs
- PathParser.cs
- ConstantCheck.cs
- TypeInfo.cs
- Material.cs
- PreProcessInputEventArgs.cs
- ScalarRestriction.cs
- Error.cs
- CookielessHelper.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- InputBindingCollection.cs
- SelectionGlyph.cs
- DispatchWrapper.cs
- DropSource.cs
- XamlToRtfWriter.cs
- Menu.cs
- ChoiceConverter.cs
- HtmlButton.cs
- EventListener.cs
- CssTextWriter.cs
- Decimal.cs
- VisualBrush.cs
- CryptoHelper.cs
- Control.cs
- ModelProperty.cs
- EncryptedKeyIdentifierClause.cs
- ProjectedSlot.cs
- TransformedBitmap.cs
- ListControlBoundActionList.cs
- Int16Animation.cs
- ControlCollection.cs
- GridViewDeletedEventArgs.cs
- EnumMemberAttribute.cs