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
- StaticTextPointer.cs
- StylusPointCollection.cs
- SignalGate.cs
- FloatUtil.cs
- XmlDataLoader.cs
- QueryOutputWriter.cs
- WebServiceClientProxyGenerator.cs
- TargetInvocationException.cs
- PropertyStore.cs
- AudioBase.cs
- ContentElement.cs
- CssClassPropertyAttribute.cs
- OdbcTransaction.cs
- Helper.cs
- BatchStream.cs
- HandlerFactoryCache.cs
- RtType.cs
- ToolStripSeparatorRenderEventArgs.cs
- BaseTemplatedMobileComponentEditor.cs
- PrimaryKeyTypeConverter.cs
- WmlPhoneCallAdapter.cs
- TypeUtils.cs
- DataControlPagerLinkButton.cs
- FrameworkContextData.cs
- DataGrid.cs
- ServiceBusyException.cs
- PresentationSource.cs
- FileLevelControlBuilderAttribute.cs
- XmlMemberMapping.cs
- EntryIndex.cs
- HtmlInputText.cs
- CollectionViewProxy.cs
- DocumentsTrace.cs
- DataObjectAttribute.cs
- Delegate.cs
- DiscoveryMessageSequenceCD1.cs
- FloaterBaseParagraph.cs
- TagPrefixCollection.cs
- ComponentChangedEvent.cs
- SpeechSynthesizer.cs
- DocumentScope.cs
- WmlMobileTextWriter.cs
- WebPartEditorOkVerb.cs
- DataTableClearEvent.cs
- SendKeys.cs
- ValidationErrorEventArgs.cs
- TextDecorationCollection.cs
- HttpHeaderCollection.cs
- DependencyPropertyDescriptor.cs
- InteropTrackingRecord.cs
- ExtendedProperty.cs
- SystemIcons.cs
- Image.cs
- TextChangedEventArgs.cs
- SqlReferenceCollection.cs
- XomlDesignerLoader.cs
- ConstantExpression.cs
- NetMsmqSecurity.cs
- PackageDigitalSignatureManager.cs
- TemplatedAdorner.cs
- WebBrowser.cs
- TextMetrics.cs
- SecurityCriticalDataForSet.cs
- _DisconnectOverlappedAsyncResult.cs
- PathFigureCollection.cs
- AuthenticationSection.cs
- ConfigurationPropertyCollection.cs
- HttpBufferlessInputStream.cs
- PingOptions.cs
- TrackingStringDictionary.cs
- XsdValidatingReader.cs
- Model3D.cs
- ImagingCache.cs
- GradientStopCollection.cs
- Splitter.cs
- ByteArrayHelperWithString.cs
- ReflectionUtil.cs
- ControlBuilder.cs
- SuppressIldasmAttribute.cs
- DataColumnSelectionConverter.cs
- WebPartZoneBase.cs
- PrincipalPermission.cs
- OutputCacheSection.cs
- CommandBindingCollection.cs
- HostProtectionException.cs
- WorkerRequest.cs
- ProcessHostServerConfig.cs
- RegexInterpreter.cs
- _NativeSSPI.cs
- WebControl.cs
- QilReference.cs
- ScriptServiceAttribute.cs
- ClientBuildManagerCallback.cs
- AggregateNode.cs
- CodeSubDirectory.cs
- WebPartVerb.cs
- SpellerStatusTable.cs
- GeometryDrawing.cs
- Scheduler.cs
- HierarchicalDataSourceControl.cs