Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / Configuration / ScriptingRoleServiceSection.cs / 1 / ScriptingRoleServiceSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Configuration; using System.Security.Permissions; using System.Web; using System.Web.Configuration; // [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public sealed class ScriptingRoleServiceSection : ConfigurationSection { private static readonly ConfigurationProperty _propEnabled = new ConfigurationProperty("enabled", typeof(bool), false); private static ConfigurationPropertyCollection _properties = BuildProperties(); private static ConfigurationPropertyCollection BuildProperties() { ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); properties.Add(_propEnabled); return properties; } internal static ScriptingRoleServiceSection GetConfigurationSection() { return (ScriptingRoleServiceSection)WebConfigurationManager.GetWebApplicationSection("system.web.extensions/scripting/webServices/roleService"); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("enabled", DefaultValue = false)] public bool Enabled { get { return (bool)this[_propEnabled]; } set { this[_propEnabled] = value; } } } } // 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
- OwnerDrawPropertyBag.cs
- TickBar.cs
- SqlBooleanizer.cs
- propertytag.cs
- AuthenticationService.cs
- TreePrinter.cs
- SoapProtocolReflector.cs
- GACIdentityPermission.cs
- TopClause.cs
- ExpiredSecurityTokenException.cs
- nulltextcontainer.cs
- PersistenceTypeAttribute.cs
- FakeModelPropertyImpl.cs
- ClosableStream.cs
- DependencyProperty.cs
- HtmlControlPersistable.cs
- OleDbDataAdapter.cs
- CompModSwitches.cs
- SubpageParaClient.cs
- LZCodec.cs
- Encoder.cs
- HandlerBase.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- UsernameTokenFactoryCredential.cs
- KnownBoxes.cs
- SnapLine.cs
- ByteStorage.cs
- XmlSerializationGeneratedCode.cs
- WindowsFormsHostAutomationPeer.cs
- ObsoleteAttribute.cs
- StylusPointDescription.cs
- PropertyIDSet.cs
- NetworkCredential.cs
- ChannelPoolSettingsElement.cs
- Pair.cs
- Variant.cs
- UnmanagedMemoryStreamWrapper.cs
- ObjectHelper.cs
- SessionStateContainer.cs
- NativeMethods.cs
- Literal.cs
- DataContractSerializerMessageContractImporter.cs
- SQLStringStorage.cs
- ImageDrawing.cs
- InputLanguageCollection.cs
- CompressionTransform.cs
- CaseInsensitiveHashCodeProvider.cs
- WorkerRequest.cs
- DataTransferEventArgs.cs
- BaseProcessor.cs
- PointCollection.cs
- PropertySourceInfo.cs
- PropertyGroupDescription.cs
- DataChangedEventManager.cs
- HandleCollector.cs
- DbProviderSpecificTypePropertyAttribute.cs
- RichTextBoxConstants.cs
- MappingException.cs
- DBDataPermission.cs
- PerformanceCounterLib.cs
- TransformBlockRequest.cs
- RuntimeHandles.cs
- ACL.cs
- DataColumnChangeEvent.cs
- PrintDialog.cs
- RegexEditorDialog.cs
- TrustVersion.cs
- HttpDigestClientElement.cs
- DynamicResourceExtensionConverter.cs
- InteropAutomationProvider.cs
- TemplateContentLoader.cs
- Int64AnimationUsingKeyFrames.cs
- CacheHelper.cs
- InputEventArgs.cs
- FileFormatException.cs
- AnchoredBlock.cs
- WindowHideOrCloseTracker.cs
- TreeViewImageIndexConverter.cs
- ResourceAssociationTypeEnd.cs
- Component.cs
- BamlTreeMap.cs
- InternalCache.cs
- BuildResult.cs
- PathParser.cs
- DupHandleConnectionReader.cs
- Thread.cs
- ColorBlend.cs
- RegexMatch.cs
- StreamWriter.cs
- EndPoint.cs
- SourceInterpreter.cs
- XmlSchemaAnnotated.cs
- Missing.cs
- Item.cs
- Compilation.cs
- DPAPIProtectedConfigurationProvider.cs
- SiteMapHierarchicalDataSourceView.cs
- Wildcard.cs
- ToolStripManager.cs
- ListViewItemMouseHoverEvent.cs