Code:
/ FX-1434 / FX-1434 / 1.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
- Function.cs
- WebPartPersonalization.cs
- AccessibleObject.cs
- DesignerDataParameter.cs
- FrameworkReadOnlyPropertyMetadata.cs
- XsltQilFactory.cs
- ButtonPopupAdapter.cs
- GeometryCombineModeValidation.cs
- ZipIOModeEnforcingStream.cs
- BuildDependencySet.cs
- SchemaImporterExtensionElementCollection.cs
- BitmapFrame.cs
- CancelRequestedQuery.cs
- RawStylusInputCustomDataList.cs
- RefType.cs
- InlineCollection.cs
- WorkflowControlEndpoint.cs
- WebPartConnectionsCancelEventArgs.cs
- GeometryDrawing.cs
- StylusSystemGestureEventArgs.cs
- AutomationProperties.cs
- SqlDataRecord.cs
- BitVector32.cs
- ItemsControlAutomationPeer.cs
- EnumValAlphaComparer.cs
- SQLCharsStorage.cs
- filewebresponse.cs
- XPathNodeInfoAtom.cs
- SymmetricSecurityBindingElement.cs
- NavigatorOutput.cs
- ValidationError.cs
- XmlAttributeOverrides.cs
- ZoneMembershipCondition.cs
- AuthorizationSection.cs
- TripleDESCryptoServiceProvider.cs
- TargetInvocationException.cs
- BooleanToVisibilityConverter.cs
- ProtectedProviderSettings.cs
- MessageBox.cs
- SortExpressionBuilder.cs
- TableItemStyle.cs
- EnvelopedPkcs7.cs
- Journaling.cs
- RestClientProxyHandler.cs
- ListViewDeletedEventArgs.cs
- GradientSpreadMethodValidation.cs
- AddInController.cs
- CommonObjectSecurity.cs
- DefaultObjectMappingItemCollection.cs
- URIFormatException.cs
- __FastResourceComparer.cs
- HttpRuntimeSection.cs
- PropertyDescriptor.cs
- SpellerInterop.cs
- PriorityChain.cs
- ResourceDescriptionAttribute.cs
- PerformanceCounterPermissionAttribute.cs
- CodeCatchClause.cs
- IImplicitResourceProvider.cs
- _SSPISessionCache.cs
- InternalControlCollection.cs
- WindowsScrollBarBits.cs
- MultiPageTextView.cs
- ErrorRuntimeConfig.cs
- NavigationProperty.cs
- KeyedHashAlgorithm.cs
- ObjectListSelectEventArgs.cs
- TypeLoadException.cs
- CallbackValidatorAttribute.cs
- Activity.cs
- ColumnHeaderConverter.cs
- CallInfo.cs
- DbProviderManifest.cs
- StringCollection.cs
- XmlUtf8RawTextWriter.cs
- DataViewListener.cs
- CompModHelpers.cs
- MethodBuilderInstantiation.cs
- ContentElement.cs
- StrongNameMembershipCondition.cs
- UIHelper.cs
- JsonQNameDataContract.cs
- ToolStripRendererSwitcher.cs
- ProcessModule.cs
- AttributeUsageAttribute.cs
- DataGridCheckBoxColumn.cs
- OptimalTextSource.cs
- ClientSettingsProvider.cs
- FontWeights.cs
- PerformanceCountersElement.cs
- ZipIOFileItemStream.cs
- NonSerializedAttribute.cs
- ContainerUtilities.cs
- IUnknownConstantAttribute.cs
- PackageRelationshipCollection.cs
- BStrWrapper.cs
- CompoundFileReference.cs
- ResolveRequestResponseAsyncResult.cs
- CalendarAutomationPeer.cs
- ConfigurationErrorsException.cs