Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / CapabilitiesAssignment.cs / 1 / CapabilitiesAssignment.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; // // Implementation of the foo = ${bar}-something-%{que} // expand the pattern on the right and store it in the %{foo} variable // internal class CapabilitiesAssignment : CapabilitiesRule { internal String _var; internal CapabilitiesPattern _pat; internal CapabilitiesAssignment(String var, CapabilitiesPattern pat) { _type = Assign; _var = var; _pat = pat; } internal override void Evaluate(CapabilitiesState state) { state.SetVariable(_var, _pat.Expand(state)); state.Exit = false; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SynchronizedDispatch.cs
- AuthenticationSection.cs
- PlaceHolder.cs
- DataServiceOperationContext.cs
- RouteValueDictionary.cs
- SectionInput.cs
- SpanIndex.cs
- DataRelationPropertyDescriptor.cs
- AuthenticationManager.cs
- ExtractedStateEntry.cs
- InvokePatternIdentifiers.cs
- SqlProcedureAttribute.cs
- MemoryStream.cs
- DbMetaDataCollectionNames.cs
- ThreadNeutralSemaphore.cs
- HandlerWithFactory.cs
- SplineKeyFrames.cs
- DataRowChangeEvent.cs
- MenuScrollingVisibilityConverter.cs
- SoapServerMethod.cs
- Size3D.cs
- OverloadGroupAttribute.cs
- XmlTypeAttribute.cs
- xsdvalidator.cs
- MetadataPropertyCollection.cs
- COM2ColorConverter.cs
- ApplicationServicesHostFactory.cs
- SelectionRangeConverter.cs
- ErrorHandler.cs
- XmlCharacterData.cs
- ParallelDesigner.cs
- HasCopySemanticsAttribute.cs
- ActivityMarkupSerializer.cs
- WebPartVerbCollection.cs
- SequentialActivityDesigner.cs
- AppDomainFactory.cs
- FastEncoder.cs
- TransactionException.cs
- EditingCommands.cs
- GPRECT.cs
- AssemblyFilter.cs
- ValidatedMobileControlConverter.cs
- Literal.cs
- AssociationSetMetadata.cs
- ParallelTimeline.cs
- DotExpr.cs
- QuaternionConverter.cs
- WebPartVerbsEventArgs.cs
- Facet.cs
- XamlSerializationHelper.cs
- Block.cs
- IriParsingElement.cs
- MasterPageBuildProvider.cs
- SqlFileStream.cs
- WebControl.cs
- ImportContext.cs
- MarshalDirectiveException.cs
- HatchBrush.cs
- TextProperties.cs
- Keywords.cs
- SearchForVirtualItemEventArgs.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SecureUICommand.cs
- WebPartDisplayModeEventArgs.cs
- EntityProxyFactory.cs
- hwndwrapper.cs
- PathSegmentCollection.cs
- SubMenuStyleCollectionEditor.cs
- SelectorAutomationPeer.cs
- DecoderBestFitFallback.cs
- BackStopAuthenticationModule.cs
- NativeMethods.cs
- AttributeProviderAttribute.cs
- SecurityDescriptor.cs
- EntitySet.cs
- tooltip.cs
- ManualWorkflowSchedulerService.cs
- DataObjectEventArgs.cs
- IconBitmapDecoder.cs
- XmlBinaryReader.cs
- TrackingWorkflowEventArgs.cs
- CodeNamespaceImportCollection.cs
- metadatamappinghashervisitor.cs
- BlobPersonalizationState.cs
- WebPartHelpVerb.cs
- ResourceContainer.cs
- Membership.cs
- SourceFileInfo.cs
- _LazyAsyncResult.cs
- OneOf.cs
- MenuItem.cs
- GraphicsPathIterator.cs
- ViewStateModeByIdAttribute.cs
- TableDetailsRow.cs
- ExchangeUtilities.cs
- OrthographicCamera.cs
- IsolatedStorageException.cs
- SystemIcons.cs
- MatrixKeyFrameCollection.cs
- SafeLocalAllocation.cs