Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / CapabilitiesRule.cs / 1 / CapabilitiesRule.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Collections.Specialized; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Security; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Web.Caching; using System.Web.Compilation; using System.Web.Hosting; using System.Security.Permissions; // // CapabilitiesRule is a step in the computation of a capabilities object. It can be either // (1) import a string from the request object // (2) assign a pattern into a variable // (3) execute a subsequence if a regex matches // (4) execute a subsequence and exit the block if a regex matches // internal abstract class CapabilitiesRule { internal const int Use = 0; internal const int Assign = 1; internal const int Filter = 2; internal const int Case = 3; internal int _type; internal virtual int Type { get { return _type; } } internal abstract void Evaluate(CapabilitiesState state); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Collections.Specialized; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Security; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Web.Caching; using System.Web.Compilation; using System.Web.Hosting; using System.Security.Permissions; // // CapabilitiesRule is a step in the computation of a capabilities object. It can be either // (1) import a string from the request object // (2) assign a pattern into a variable // (3) execute a subsequence if a regex matches // (4) execute a subsequence and exit the block if a regex matches // internal abstract class CapabilitiesRule { internal const int Use = 0; internal const int Assign = 1; internal const int Filter = 2; internal const int Case = 3; internal int _type; internal virtual int Type { get { return _type; } } internal abstract void Evaluate(CapabilitiesState state); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContentPlaceHolder.cs
- GACIdentityPermission.cs
- ScriptResourceInfo.cs
- ListInitExpression.cs
- Border.cs
- OleDbDataReader.cs
- QilValidationVisitor.cs
- ForeignConstraint.cs
- ObjectListItem.cs
- DesignerUtility.cs
- IdentityModelStringsVersion1.cs
- SerializationEventsCache.cs
- HopperCache.cs
- Scalars.cs
- Grammar.cs
- StringResourceManager.cs
- _CookieModule.cs
- LocalFileSettingsProvider.cs
- FileUtil.cs
- PopupEventArgs.cs
- InstanceDataCollectionCollection.cs
- LinqDataSource.cs
- DelegateSerializationHolder.cs
- SafeBitVector32.cs
- FormViewUpdateEventArgs.cs
- Span.cs
- DivideByZeroException.cs
- AutomationProperty.cs
- NotifyInputEventArgs.cs
- Pen.cs
- ProjectedSlot.cs
- VisualStateGroup.cs
- PropertyPathConverter.cs
- XmlILModule.cs
- FormsAuthenticationUser.cs
- ImageCodecInfoPrivate.cs
- __Error.cs
- XPathNodeHelper.cs
- ByteViewer.cs
- WebEventCodes.cs
- ContainerUIElement3D.cs
- AlternateViewCollection.cs
- TraceSwitch.cs
- UnsafeNativeMethods.cs
- _AuthenticationState.cs
- RegularExpressionValidator.cs
- SimpleWebHandlerParser.cs
- Italic.cs
- SoapFormatter.cs
- EventBookmark.cs
- GcSettings.cs
- WebPartCancelEventArgs.cs
- SchemaCreator.cs
- WebPartsPersonalization.cs
- CodeDOMProvider.cs
- EntityClassGenerator.cs
- SecondaryIndexList.cs
- FlowDocumentScrollViewer.cs
- DataColumnMapping.cs
- SystemNetworkInterface.cs
- PointCollectionValueSerializer.cs
- SecondaryViewProvider.cs
- BinHexDecoder.cs
- HiddenFieldPageStatePersister.cs
- DateTimeEditor.cs
- ImageDrawing.cs
- ReflectionServiceProvider.cs
- FileLoadException.cs
- FacetChecker.cs
- SequentialUshortCollection.cs
- XmlSchemaAttributeGroup.cs
- WeakReference.cs
- CalendarModeChangedEventArgs.cs
- PreviewKeyDownEventArgs.cs
- HttpCookieCollection.cs
- X509AsymmetricSecurityKey.cs
- PKCS1MaskGenerationMethod.cs
- EventProviderTraceListener.cs
- BitmapEffectOutputConnector.cs
- SqlDataSourceStatusEventArgs.cs
- WsdlBuildProvider.cs
- SortedList.cs
- HandlerFactoryCache.cs
- WorkflowCompensationBehavior.cs
- ToolStripSettings.cs
- InvalidDataException.cs
- DecimalConstantAttribute.cs
- EmptyEnumerator.cs
- DataTableExtensions.cs
- EntityTypeEmitter.cs
- SuppressIldasmAttribute.cs
- FontUnit.cs
- RootNamespaceAttribute.cs
- Annotation.cs
- Hyperlink.cs
- ClientTarget.cs
- TextBox.cs
- ZoomComboBox.cs
- ConnectivityStatus.cs
- MetadataException.cs