Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Configuration / ScriptingRoleServiceSection.cs / 1305376 / ScriptingRoleServiceSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Configuration; using System.Web; using System.Web.Configuration; // 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormViewInsertEventArgs.cs
- MultiView.cs
- SelectQueryOperator.cs
- WebPartPersonalization.cs
- DataTableCollection.cs
- Token.cs
- EditorZone.cs
- SystemTcpStatistics.cs
- RootBrowserWindow.cs
- XmlTextWriter.cs
- SqlCommandSet.cs
- StackBuilderSink.cs
- EnumMember.cs
- StorageSetMapping.cs
- AccessDataSource.cs
- AdCreatedEventArgs.cs
- XXXInfos.cs
- InvalidAsynchronousStateException.cs
- ServiceDeploymentInfo.cs
- SafeArrayRankMismatchException.cs
- NavigationProperty.cs
- SoapSchemaMember.cs
- EditCommandColumn.cs
- Vector3DKeyFrameCollection.cs
- XmlCodeExporter.cs
- XmlElementAttribute.cs
- StrongNamePublicKeyBlob.cs
- SqlTypesSchemaImporter.cs
- COM2IPerPropertyBrowsingHandler.cs
- InfoCardBaseException.cs
- CommandValueSerializer.cs
- MappingException.cs
- SchemaAttDef.cs
- BatchWriter.cs
- ConfigurationStrings.cs
- UserInitiatedNavigationPermission.cs
- ProjectionPlanCompiler.cs
- ListenerPerfCounters.cs
- CheckBox.cs
- XhtmlBasicPhoneCallAdapter.cs
- HyperLinkStyle.cs
- MultiByteCodec.cs
- AddValidationError.cs
- TcpDuplicateContext.cs
- MetricEntry.cs
- ObjectDataSourceMethodEventArgs.cs
- LoginCancelEventArgs.cs
- IndexOutOfRangeException.cs
- SequentialOutput.cs
- LayoutManager.cs
- SecurityResources.cs
- AnonymousIdentificationSection.cs
- EnumerableRowCollection.cs
- ArrayTypeMismatchException.cs
- XmlCountingReader.cs
- Validator.cs
- ContainerControl.cs
- LineSegment.cs
- ZipPackagePart.cs
- CodeTypeConstructor.cs
- TargetInvocationException.cs
- ReadOnlyCollection.cs
- ToolTipService.cs
- XmlSchemas.cs
- BitmapImage.cs
- ImageResources.Designer.cs
- BooleanConverter.cs
- DataKey.cs
- DbParameterHelper.cs
- SerializationHelper.cs
- RegionData.cs
- EventProxy.cs
- PermissionAttributes.cs
- SafePointer.cs
- Rijndael.cs
- XPathAxisIterator.cs
- WebBrowserPermission.cs
- IteratorFilter.cs
- LicenseContext.cs
- HttpModulesSection.cs
- XmlSchemaGroup.cs
- ComponentResourceKeyConverter.cs
- CodeExporter.cs
- XmlSchemaGroup.cs
- SplitterCancelEvent.cs
- FileSecurity.cs
- OleDbRowUpdatedEvent.cs
- Activity.cs
- TemplatedEditableDesignerRegion.cs
- BufferedGraphicsManager.cs
- CodeIterationStatement.cs
- StoryFragments.cs
- DecimalFormatter.cs
- HashSetDebugView.cs
- SqlDataSourceConfigureFilterForm.cs
- CompressionTransform.cs
- XmlProcessingInstruction.cs
- CodeObject.cs
- PageTheme.cs
- SafeNativeMethods.cs