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
- DateRangeEvent.cs
- XmlComplianceUtil.cs
- TimeSpanMinutesConverter.cs
- DataServiceRequestOfT.cs
- HostVisual.cs
- LinqDataSourceContextEventArgs.cs
- BaseProcessor.cs
- PerformanceCounterPermission.cs
- SamlAuthenticationStatement.cs
- CodeDOMProvider.cs
- SingleQueryOperator.cs
- CacheForPrimitiveTypes.cs
- JapaneseLunisolarCalendar.cs
- Menu.cs
- IDReferencePropertyAttribute.cs
- CursorConverter.cs
- PackageFilter.cs
- altserialization.cs
- IDReferencePropertyAttribute.cs
- Base64Encoder.cs
- Selector.cs
- basevalidator.cs
- OracleNumber.cs
- DependencyPropertyAttribute.cs
- ImageSource.cs
- DrawingContext.cs
- SequentialWorkflowHeaderFooter.cs
- DataRow.cs
- Point3DValueSerializer.cs
- XpsInterleavingPolicy.cs
- DataTableMapping.cs
- FontWeight.cs
- Funcletizer.cs
- PointAnimationUsingKeyFrames.cs
- LoginView.cs
- TrackingLocationCollection.cs
- ProxyGenerator.cs
- PixelShader.cs
- Tokenizer.cs
- GridViewPageEventArgs.cs
- OdbcStatementHandle.cs
- Wizard.cs
- ExtractedStateEntry.cs
- ActivityPreviewDesigner.cs
- EntityDesignerBuildProvider.cs
- CodeSubDirectoriesCollection.cs
- NoResizeSelectionBorderGlyph.cs
- Visual.cs
- TextServicesCompartment.cs
- IisTraceListener.cs
- DescriptionAttribute.cs
- WebDisplayNameAttribute.cs
- PageSettings.cs
- objectresult_tresulttype.cs
- TraceSwitch.cs
- SQLResource.cs
- XmlWriterSettings.cs
- HostedElements.cs
- WmlFormAdapter.cs
- ImmutableCollection.cs
- TableChangeProcessor.cs
- EmptyEnumerator.cs
- SuspendDesigner.cs
- NotifyIcon.cs
- ValueTable.cs
- HighlightComponent.cs
- X509RawDataKeyIdentifierClause.cs
- UIHelper.cs
- BitFlagsGenerator.cs
- TypedTableBase.cs
- ConfigXmlSignificantWhitespace.cs
- XmlObjectSerializerWriteContextComplex.cs
- shaperfactoryquerycachekey.cs
- ContractTypeNameCollection.cs
- BitmapSource.cs
- InstallHelper.cs
- FontStyle.cs
- QuaternionValueSerializer.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BulletDecorator.cs
- ConditionalWeakTable.cs
- GPRECTF.cs
- GeneralTransform3D.cs
- RawStylusInputCustomDataList.cs
- ScrollViewer.cs
- TypeUnloadedException.cs
- DispatcherSynchronizationContext.cs
- SelfIssuedTokenFactoryCredential.cs
- QueryPageSettingsEventArgs.cs
- JsonWriter.cs
- OrderedDictionaryStateHelper.cs
- DeobfuscatingStream.cs
- EncoderParameter.cs
- PrivilegeNotHeldException.cs
- RoutedCommand.cs
- ServiceDesigner.cs
- FrameworkTemplate.cs
- CodeDomComponentSerializationService.cs
- SafeFileHandle.cs
- Avt.cs