Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Run.cs
- PtsHost.cs
- SafePointer.cs
- NavigationPropertyAccessor.cs
- Stylesheet.cs
- XmlWrappingWriter.cs
- SQLMoneyStorage.cs
- ProtocolsConfigurationEntry.cs
- WinFormsUtils.cs
- PackWebRequestFactory.cs
- Geometry3D.cs
- FilteredAttributeCollection.cs
- ComPlusTraceRecord.cs
- StreamInfo.cs
- LineProperties.cs
- XmlTextReaderImplHelpers.cs
- StylusPointPropertyInfoDefaults.cs
- PersonalizationStateQuery.cs
- DecoderExceptionFallback.cs
- AvTraceDetails.cs
- ReachDocumentReferenceSerializer.cs
- propertyentry.cs
- EntityParameter.cs
- XmlSchemaAttributeGroupRef.cs
- MSAANativeProvider.cs
- WindowsUpDown.cs
- ResourceManager.cs
- XmlBoundElement.cs
- DesignerToolStripControlHost.cs
- ConfigurationStrings.cs
- TextEncodedRawTextWriter.cs
- TypeNameHelper.cs
- webproxy.cs
- XPathItem.cs
- RadioButtonRenderer.cs
- CapacityStreamGeometryContext.cs
- TextParagraphCache.cs
- Freezable.cs
- EnumBuilder.cs
- DrawItemEvent.cs
- VisualSerializer.cs
- BorderGapMaskConverter.cs
- TimersDescriptionAttribute.cs
- AttachedPropertyBrowsableAttribute.cs
- StubHelpers.cs
- WorkflowOperationBehavior.cs
- Freezable.cs
- VideoDrawing.cs
- PointAnimationUsingKeyFrames.cs
- MiniAssembly.cs
- DesignParameter.cs
- Material.cs
- AsmxEndpointPickerExtension.cs
- ReadWriteObjectLock.cs
- EventBindingService.cs
- PersonalizationAdministration.cs
- StorageComplexTypeMapping.cs
- ReadOnlyDataSource.cs
- BindableTemplateBuilder.cs
- DispatcherProcessingDisabled.cs
- WebPartMovingEventArgs.cs
- QilTargetType.cs
- RenderOptions.cs
- PeerNameResolver.cs
- ReadOnlyDictionary.cs
- ConnectionPoolManager.cs
- TableLayoutPanelCellPosition.cs
- LayoutEditorPart.cs
- SqlInternalConnectionSmi.cs
- XmlCustomFormatter.cs
- HealthMonitoringSectionHelper.cs
- SEHException.cs
- XmlSchemaException.cs
- ACE.cs
- DESCryptoServiceProvider.cs
- XmlWriterTraceListener.cs
- InputReferenceExpression.cs
- SimpleHandlerBuildProvider.cs
- UIElement3D.cs
- Transform.cs
- ValidationSummary.cs
- PointAnimationBase.cs
- FeatureSupport.cs
- Transform3D.cs
- LongTypeConverter.cs
- SqlGenericUtil.cs
- DispatcherProcessingDisabled.cs
- _NativeSSPI.cs
- NewArrayExpression.cs
- ISessionStateStore.cs
- EventKeyword.cs
- SvcMapFile.cs
- MemberListBinding.cs
- ClientCultureInfo.cs
- SessionSwitchEventArgs.cs
- ModelVisual3D.cs
- NavigationWindowAutomationPeer.cs
- StateDesigner.cs
- TraceLog.cs
- ProjectionNode.cs