Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / Configuration / XhtmlConformanceSection.cs / 1 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResolvePPIDRequest.cs
- TextBlockAutomationPeer.cs
- WebServiceReceive.cs
- ImageDrawing.cs
- ParamArrayAttribute.cs
- MailDefinitionBodyFileNameEditor.cs
- ApplicationDirectory.cs
- OdbcFactory.cs
- AutoFocusStyle.xaml.cs
- SoapCodeExporter.cs
- Triplet.cs
- SQLInt32Storage.cs
- RoutedEventValueSerializer.cs
- ObjectToModelValueConverter.cs
- StdRegProviderWrapper.cs
- SafeNativeMethods.cs
- XmlSubtreeReader.cs
- cookiecontainer.cs
- ReaderWriterLock.cs
- DictionaryEntry.cs
- TableLayoutStyle.cs
- HeaderedContentControl.cs
- GuidConverter.cs
- RefreshEventArgs.cs
- SettingsProviderCollection.cs
- DataSourceSerializationException.cs
- AddIn.cs
- Mapping.cs
- TextStore.cs
- TypeDelegator.cs
- AssemblyAttributesGoHere.cs
- ListenerElementsCollection.cs
- SoundPlayer.cs
- CodeLabeledStatement.cs
- TextEditorDragDrop.cs
- RemotingException.cs
- DecoderBestFitFallback.cs
- ReliabilityContractAttribute.cs
- FixedSOMLineCollection.cs
- DBNull.cs
- Application.cs
- EditorPart.cs
- PrimitiveXmlSerializers.cs
- PersonalizationDictionary.cs
- GroupByExpressionRewriter.cs
- ExpressionSelection.cs
- DictionarySectionHandler.cs
- WorkflowServiceHost.cs
- DigestTraceRecordHelper.cs
- RowToFieldTransformer.cs
- GetMemberBinder.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- XmlSerializableReader.cs
- ResXFileRef.cs
- BigInt.cs
- DataBoundControlAdapter.cs
- ElementHostPropertyMap.cs
- Profiler.cs
- RSAPKCS1SignatureDeformatter.cs
- SiteMapNode.cs
- DataObjectCopyingEventArgs.cs
- CalculatedColumn.cs
- CodeMemberField.cs
- ValuePatternIdentifiers.cs
- CommonProperties.cs
- X509ChainPolicy.cs
- SafeRightsManagementHandle.cs
- SqlDataSourceStatusEventArgs.cs
- ErrorHandler.cs
- AssemblyInfo.cs
- HttpSessionStateBase.cs
- RecordManager.cs
- HybridObjectCache.cs
- WorkflowServiceOperationListItem.cs
- UIElement3D.cs
- NavigatingCancelEventArgs.cs
- FormsIdentity.cs
- FunctionUpdateCommand.cs
- DefaultIfEmptyQueryOperator.cs
- BamlVersionHeader.cs
- HMAC.cs
- HttpRawResponse.cs
- IntegerFacetDescriptionElement.cs
- EditingScope.cs
- XmlParser.cs
- CharAnimationUsingKeyFrames.cs
- DirectionalLight.cs
- GeneralTransform2DTo3DTo2D.cs
- CustomSignedXml.cs
- PropertyOrder.cs
- TabControl.cs
- pingexception.cs
- DataTableClearEvent.cs
- WebPartCloseVerb.cs
- WorkflowHostingResponseContext.cs
- ViewGenResults.cs
- FontWeight.cs
- DataObjectCopyingEventArgs.cs
- GlyphInfoList.cs
- rsa.cs