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
- ContentElement.cs
- BinaryUtilClasses.cs
- StateMachineSubscriptionManager.cs
- RegionInfo.cs
- TriggerCollection.cs
- RenderOptions.cs
- MemoryMappedView.cs
- ParseNumbers.cs
- WebPartVerbCollection.cs
- xml.cs
- DispatchChannelSink.cs
- TcpProcessProtocolHandler.cs
- EntityProviderServices.cs
- ToolStripContentPanel.cs
- SequentialWorkflowRootDesigner.cs
- ItemsControl.cs
- ChannelManager.cs
- MenuTracker.cs
- WebPartTransformerAttribute.cs
- SspiNegotiationTokenAuthenticator.cs
- ComponentEditorPage.cs
- ExpressionTextBoxAutomationPeer.cs
- LogicalTreeHelper.cs
- ReadOnlyDictionary.cs
- TableParagraph.cs
- WebBrowserHelper.cs
- MessageHeaderDescriptionCollection.cs
- ConfigurationErrorsException.cs
- SecurityPermission.cs
- CreateUserWizardDesigner.cs
- keycontainerpermission.cs
- CounterSample.cs
- Ipv6Element.cs
- SeverityFilter.cs
- _TransmitFileOverlappedAsyncResult.cs
- BooleanExpr.cs
- HiddenFieldPageStatePersister.cs
- Process.cs
- CriticalFinalizerObject.cs
- SettingsBase.cs
- TextProviderWrapper.cs
- SqlCachedBuffer.cs
- Operand.cs
- DataGridViewCellPaintingEventArgs.cs
- ByteFacetDescriptionElement.cs
- TailCallAnalyzer.cs
- ImageAutomationPeer.cs
- TypeConverterValueSerializer.cs
- SynchronizationLockException.cs
- TypeElement.cs
- MessageQueuePermission.cs
- QueryPageSettingsEventArgs.cs
- StylusTip.cs
- HtmlImage.cs
- FtpWebRequest.cs
- StateRuntime.cs
- SiteMapPath.cs
- AuthenticationManager.cs
- DurableOperationAttribute.cs
- HashCryptoHandle.cs
- SqlDataSourceSelectingEventArgs.cs
- LocatorPart.cs
- GridViewPageEventArgs.cs
- HtmlHead.cs
- MetadataPropertyAttribute.cs
- NodeLabelEditEvent.cs
- MemberAccessException.cs
- InputLangChangeEvent.cs
- XmlnsDictionary.cs
- Avt.cs
- TraceRecords.cs
- MetadataPropertyvalue.cs
- HorizontalAlignConverter.cs
- DeviceContexts.cs
- SafeSecurityHelper.cs
- MessageTraceRecord.cs
- ComponentManagerBroker.cs
- SecurityPermission.cs
- ArrangedElement.cs
- ValidationVisibilityAttribute.cs
- SymbolType.cs
- WindowsFormsHostAutomationPeer.cs
- ReferenceSchema.cs
- ProxyDataContractResolver.cs
- SoapHeaders.cs
- _ListenerAsyncResult.cs
- ValidationErrorEventArgs.cs
- UrlParameterReader.cs
- ActiveXMessageFormatter.cs
- PageDeviceFont.cs
- ObjectIDGenerator.cs
- SharedStream.cs
- EndOfStreamException.cs
- Light.cs
- Schema.cs
- BaseHashHelper.cs
- ImageUrlEditor.cs
- GPRECTF.cs
- DataGridItemEventArgs.cs
- BezierSegment.cs