Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / XhtmlConformanceSection.cs / 2 / XhtmlConformanceSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Configuration; using System.Security.Permissions; /* */ [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class XhtmlConformanceSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; internal const XhtmlConformanceMode DefaultMode = XhtmlConformanceMode.Transitional; private static readonly ConfigurationProperty _propMode = new ConfigurationProperty("mode", typeof(XhtmlConformanceMode), DefaultMode, ConfigurationPropertyOptions.None); static XhtmlConformanceSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propMode); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("mode", DefaultValue=DefaultMode)] public XhtmlConformanceMode Mode { get { return (XhtmlConformanceMode)base[_propMode]; } set { base[_propMode] = value; } } } } // 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.Configuration; using System.Security.Permissions; /* */ [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class XhtmlConformanceSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; internal const XhtmlConformanceMode DefaultMode = XhtmlConformanceMode.Transitional; private static readonly ConfigurationProperty _propMode = new ConfigurationProperty("mode", typeof(XhtmlConformanceMode), DefaultMode, ConfigurationPropertyOptions.None); static XhtmlConformanceSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propMode); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("mode", DefaultValue=DefaultMode)] public XhtmlConformanceMode Mode { get { return (XhtmlConformanceMode)base[_propMode]; } set { base[_propMode] = 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
- EnterpriseServicesHelper.cs
- SamlSubject.cs
- StrokeNode.cs
- DBConnection.cs
- DnsPermission.cs
- QueryContext.cs
- DesignerToolboxInfo.cs
- DynamicPropertyHolder.cs
- AxisAngleRotation3D.cs
- TextEffectResolver.cs
- NativeMethods.cs
- ObjectDataSource.cs
- DCSafeHandle.cs
- XXXOnTypeBuilderInstantiation.cs
- TimeStampChecker.cs
- Keyboard.cs
- Visual3DCollection.cs
- NeutralResourcesLanguageAttribute.cs
- WindowsScrollBarBits.cs
- ColumnMapProcessor.cs
- WebPartDeleteVerb.cs
- PeerContact.cs
- DescendantOverDescendantQuery.cs
- XmlSignificantWhitespace.cs
- ResourceProviderFactory.cs
- BitmapEffect.cs
- ThousandthOfEmRealPoints.cs
- PickBranchDesigner.xaml.cs
- HttpWriter.cs
- AttributeCollection.cs
- TypeLibConverter.cs
- Trigger.cs
- ErrorTableItemStyle.cs
- NonVisualControlAttribute.cs
- HandleExceptionArgs.cs
- ContactManager.cs
- RpcResponse.cs
- View.cs
- HashAlgorithm.cs
- XmlWrappingReader.cs
- NavigationCommands.cs
- SymbolEqualComparer.cs
- ModelItemImpl.cs
- TextEditorParagraphs.cs
- GridView.cs
- InputScopeNameConverter.cs
- _IPv6Address.cs
- ProjectionPlanCompiler.cs
- ObjectQueryProvider.cs
- ProxyHwnd.cs
- ButtonBaseDesigner.cs
- AvtEvent.cs
- HandlerFactoryWrapper.cs
- QuaternionAnimation.cs
- XhtmlBasicTextViewAdapter.cs
- InstrumentationTracker.cs
- HotCommands.cs
- ProcessThreadCollection.cs
- MenuItem.cs
- TemplateEditingService.cs
- XmlEnumAttribute.cs
- IDispatchConstantAttribute.cs
- ServiceHostingEnvironmentSection.cs
- TypedCompletedAsyncResult.cs
- BackStopAuthenticationModule.cs
- ReferenceEqualityComparer.cs
- WebScriptMetadataInstanceContextProvider.cs
- util.cs
- OutOfMemoryException.cs
- ObjectSpanRewriter.cs
- SafeRightsManagementPubHandle.cs
- IISMapPath.cs
- NumericUpDown.cs
- SQLByteStorage.cs
- Composition.cs
- BrowserInteropHelper.cs
- WebHeaderCollection.cs
- SystemWebExtensionsSectionGroup.cs
- DynamicRenderer.cs
- StrongNameHelpers.cs
- JoinTreeSlot.cs
- TraceLog.cs
- StateBag.cs
- DocumentGridPage.cs
- ColorConvertedBitmap.cs
- FileChangesMonitor.cs
- PatternMatcher.cs
- tibetanshape.cs
- ResourceManager.cs
- Update.cs
- LinkDesigner.cs
- WmlPhoneCallAdapter.cs
- MouseButtonEventArgs.cs
- ContentFileHelper.cs
- GZipUtils.cs
- TableCellsCollectionEditor.cs
- IxmlLineInfo.cs
- RootBrowserWindowAutomationPeer.cs
- SEHException.cs
- ArrayWithOffset.cs