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
- AsyncPostBackTrigger.cs
- TransformerTypeCollection.cs
- Nullable.cs
- _NegotiateClient.cs
- RegionIterator.cs
- LinkLabelLinkClickedEvent.cs
- WindowsToolbarItemAsMenuItem.cs
- BitmapEffectrendercontext.cs
- PerCallInstanceContextProvider.cs
- XmlWellformedWriterHelpers.cs
- Stack.cs
- ItemsChangedEventArgs.cs
- LiteralControl.cs
- InputProcessorProfilesLoader.cs
- SyndicationSerializer.cs
- DownloadProgressEventArgs.cs
- ProfileManager.cs
- SettingsPropertyValueCollection.cs
- ResourceDisplayNameAttribute.cs
- WbmpConverter.cs
- FlowLayoutSettings.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- XmlSubtreeReader.cs
- IImplicitResourceProvider.cs
- TransactionChannelListener.cs
- XmlQueryContext.cs
- Crc32Helper.cs
- MessagePartProtectionMode.cs
- WebServiceClientProxyGenerator.cs
- DispatcherHooks.cs
- ApplicationContext.cs
- ModuleElement.cs
- FileRecordSequenceHelper.cs
- TraceSource.cs
- BindingExpressionUncommonField.cs
- RadioButtonBaseAdapter.cs
- SchemaContext.cs
- LeftCellWrapper.cs
- SessionStateSection.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- BitConverter.cs
- SqlInfoMessageEvent.cs
- RectangleF.cs
- StringBuilder.cs
- MenuItemStyle.cs
- ApplicationServicesHostFactory.cs
- RoleService.cs
- ConnectionManagementSection.cs
- InstanceDataCollectionCollection.cs
- NetworkStream.cs
- PropertyInformation.cs
- DrawingDrawingContext.cs
- DefaultHttpHandler.cs
- DataBoundLiteralControl.cs
- AsyncResult.cs
- ToolBarButtonClickEvent.cs
- ToolBarButtonClickEvent.cs
- IntranetCredentialPolicy.cs
- BaseComponentEditor.cs
- updatecommandorderer.cs
- UInt64.cs
- MonthCalendar.cs
- ContractMapping.cs
- KeyboardNavigation.cs
- RotateTransform.cs
- StrokeNodeData.cs
- ConfigXmlComment.cs
- SafeNativeMethods.cs
- TableItemProviderWrapper.cs
- LabelLiteral.cs
- DataGridViewRow.cs
- IdentityNotMappedException.cs
- XsltInput.cs
- CategoryEditor.cs
- cookiecontainer.cs
- Bezier.cs
- TextElementCollection.cs
- SamlAuthenticationStatement.cs
- MemberProjectedSlot.cs
- FixedSOMContainer.cs
- ReadOnlyCollection.cs
- EncryptedXml.cs
- Screen.cs
- PageFunction.cs
- SqlConnectionStringBuilder.cs
- OleDragDropHandler.cs
- XmlRawWriter.cs
- BitmapDownload.cs
- IOThreadScheduler.cs
- Hashtable.cs
- CheckBoxList.cs
- AlternateView.cs
- PngBitmapDecoder.cs
- BaseCodeDomTreeGenerator.cs
- CodeIdentifiers.cs
- CodeTryCatchFinallyStatement.cs
- PeerEndPoint.cs
- BaseCollection.cs
- BufferModeSettings.cs
- Point.cs