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
- ForwardPositionQuery.cs
- PerfCounterSection.cs
- TextPointer.cs
- FileAuthorizationModule.cs
- DynamicQueryableWrapper.cs
- MessageDecoder.cs
- TypeDependencyAttribute.cs
- ProjectionPath.cs
- ProfileGroupSettings.cs
- InkCanvas.cs
- SqlParameterCollection.cs
- DBSqlParserTableCollection.cs
- PersonalizationEntry.cs
- EntityTypeEmitter.cs
- FilteredDataSetHelper.cs
- ScriptingProfileServiceSection.cs
- OpenFileDialog.cs
- ChameleonKey.cs
- ResetableIterator.cs
- EventsTab.cs
- SinglePhaseEnlistment.cs
- ParseNumbers.cs
- MouseDevice.cs
- HoistedLocals.cs
- IisNotInstalledException.cs
- VectorCollectionConverter.cs
- StateBag.cs
- Single.cs
- StringWriter.cs
- SlipBehavior.cs
- FlowLayoutSettings.cs
- StreamReader.cs
- _ProxyChain.cs
- messageonlyhwndwrapper.cs
- HelpProvider.cs
- DesignerLabelAdapter.cs
- FrugalList.cs
- SubqueryRules.cs
- ThreadExceptionDialog.cs
- MailWriter.cs
- DataServiceClientException.cs
- EventLogTraceListener.cs
- TextEditorDragDrop.cs
- DataGridViewCheckBoxCell.cs
- safemediahandle.cs
- OutputCacheProfileCollection.cs
- Socket.cs
- VSWCFServiceContractGenerator.cs
- TextElement.cs
- SimpleBitVector32.cs
- RolePrincipal.cs
- M3DUtil.cs
- DbConnectionStringBuilder.cs
- infer.cs
- ExpandCollapseProviderWrapper.cs
- PiiTraceSource.cs
- CultureSpecificStringDictionary.cs
- ListControlConvertEventArgs.cs
- OleDbWrapper.cs
- ActivityDesignerLayoutSerializers.cs
- OutputScopeManager.cs
- MachineKeySection.cs
- TableItemProviderWrapper.cs
- HttpRuntime.cs
- TextViewSelectionProcessor.cs
- HttpFileCollection.cs
- RectangleHotSpot.cs
- ContravarianceAdapter.cs
- SiteMapDataSource.cs
- TypeConverterHelper.cs
- DefaultProfileManager.cs
- ErrorInfoXmlDocument.cs
- AsymmetricSignatureFormatter.cs
- DecoratedNameAttribute.cs
- sqlinternaltransaction.cs
- CatalogPartCollection.cs
- SiteMap.cs
- SafeLocalMemHandle.cs
- HierarchicalDataSourceIDConverter.cs
- SmtpReplyReaderFactory.cs
- C14NUtil.cs
- NativeMethodsCLR.cs
- CaseInsensitiveHashCodeProvider.cs
- SetState.cs
- IPGlobalProperties.cs
- EventBindingService.cs
- Animatable.cs
- StrokeNodeOperations.cs
- DoubleCollectionConverter.cs
- Decimal.cs
- WindowsTooltip.cs
- ModuleConfigurationInfo.cs
- WebContext.cs
- CuspData.cs
- DocumentOrderQuery.cs
- ToolStripSystemRenderer.cs
- DelimitedListTraceListener.cs
- ConfigurationElementProperty.cs
- TemplateEditingVerb.cs
- DataSourceView.cs