Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Configuration / XhtmlConformanceSection.cs / 5 / 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
- Int32.cs
- CssClassPropertyAttribute.cs
- CodeBinaryOperatorExpression.cs
- CodeCompiler.cs
- XmlAnyElementAttribute.cs
- BinaryMethodMessage.cs
- SHA256.cs
- DynamicILGenerator.cs
- Operator.cs
- HttpHandlerActionCollection.cs
- EndpointIdentity.cs
- PrintPreviewGraphics.cs
- TouchesCapturedWithinProperty.cs
- MetafileHeaderWmf.cs
- EventManager.cs
- TextElement.cs
- ListGeneralPage.cs
- RecommendedAsConfigurableAttribute.cs
- NavigateEvent.cs
- DesignerSerializationVisibilityAttribute.cs
- ChineseLunisolarCalendar.cs
- SynchronizedDispatch.cs
- HtmlValidationSummaryAdapter.cs
- NameObjectCollectionBase.cs
- EdmError.cs
- XmlSchemaValidationException.cs
- MaterialGroup.cs
- EntityDataSourceStatementEditor.cs
- UnauthorizedWebPart.cs
- Attributes.cs
- Type.cs
- JsonUriDataContract.cs
- OwnerDrawPropertyBag.cs
- SoapEnumAttribute.cs
- EtwTrace.cs
- _CookieModule.cs
- SchemaNotation.cs
- RootDesignerSerializerAttribute.cs
- BitmapDownload.cs
- Number.cs
- Utils.cs
- SystemInfo.cs
- DeflateStream.cs
- ConfigXmlElement.cs
- ToolStripDropDownItem.cs
- _OverlappedAsyncResult.cs
- LinkClickEvent.cs
- PowerModeChangedEventArgs.cs
- BinaryMethodMessage.cs
- StyleReferenceConverter.cs
- ScrollPattern.cs
- RotateTransform.cs
- EmbeddedMailObject.cs
- X509Utils.cs
- DispatchProxy.cs
- TreeNodeStyle.cs
- PropertyDescriptor.cs
- WebPartEventArgs.cs
- SafeCryptoHandles.cs
- TreeNodeStyle.cs
- ObjectSecurity.cs
- EventProviderWriter.cs
- UnknownWrapper.cs
- EmptyElement.cs
- PreDigestedSignedInfo.cs
- DrawToolTipEventArgs.cs
- KeyProperty.cs
- VBIdentifierDesigner.xaml.cs
- OleDbEnumerator.cs
- Utility.cs
- AnnotationComponentChooser.cs
- ProxyWebPartManager.cs
- CodeTryCatchFinallyStatement.cs
- SqlReorderer.cs
- CornerRadius.cs
- Pts.cs
- DbProviderFactories.cs
- DataBoundControlHelper.cs
- SQLInt32Storage.cs
- LocatorPartList.cs
- LocationSectionRecord.cs
- ArithmeticLiteral.cs
- InstanceDataCollection.cs
- ApplicationServiceManager.cs
- TextRangeBase.cs
- LogicalExpressionEditor.cs
- EventArgs.cs
- PropertyEmitterBase.cs
- MimeImporter.cs
- SelectionProviderWrapper.cs
- _ScatterGatherBuffers.cs
- MainMenu.cs
- DataContract.cs
- MonitoringDescriptionAttribute.cs
- BitmapVisualManager.cs
- WizardPanel.cs
- HtmlInputPassword.cs
- ToolbarAUtomationPeer.cs
- Mappings.cs
- ObjectSpanRewriter.cs