Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / WindowsFormsSectionHandler.cs / 1 / WindowsFormsSectionHandler.cs
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Windows.Forms.WindowsFormsSectionHandler..ctor()")]
namespace System.Windows.Forms {
using System;
using System.Diagnostics;
using System.Configuration;
public sealed class WindowsFormsSection : ConfigurationSection {
internal const bool JitDebuggingDefault = false;
private static ConfigurationPropertyCollection s_properties;
private static ConfigurationProperty s_propJitDebugging;
internal static WindowsFormsSection GetSection() {
WindowsFormsSection section = null;
try {
section = (WindowsFormsSection) System.Configuration.PrivilegedConfigurationManager.GetSection("system.windows.forms");
}
catch {
Debug.Fail("Exception loading config for windows forms");
section = new WindowsFormsSection();
}
return section;
}
private static ConfigurationPropertyCollection EnsureStaticPropertyBag() {
if (s_properties == null) {
s_propJitDebugging = new ConfigurationProperty("jitDebugging", typeof(bool), JitDebuggingDefault, ConfigurationPropertyOptions.None);
ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
properties.Add(s_propJitDebugging);
s_properties = properties;
}
return s_properties;
}
public WindowsFormsSection() {
EnsureStaticPropertyBag();
}
protected override ConfigurationPropertyCollection Properties {
get {
return EnsureStaticPropertyBag();
}
}
[ConfigurationProperty("jitDebugging", DefaultValue=JitDebuggingDefault)]
public bool JitDebugging {
get {
return (bool) base[s_propJitDebugging];
}
set {
base[s_propJitDebugging] = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Windows.Forms.WindowsFormsSectionHandler..ctor()")]
namespace System.Windows.Forms {
using System;
using System.Diagnostics;
using System.Configuration;
public sealed class WindowsFormsSection : ConfigurationSection {
internal const bool JitDebuggingDefault = false;
private static ConfigurationPropertyCollection s_properties;
private static ConfigurationProperty s_propJitDebugging;
internal static WindowsFormsSection GetSection() {
WindowsFormsSection section = null;
try {
section = (WindowsFormsSection) System.Configuration.PrivilegedConfigurationManager.GetSection("system.windows.forms");
}
catch {
Debug.Fail("Exception loading config for windows forms");
section = new WindowsFormsSection();
}
return section;
}
private static ConfigurationPropertyCollection EnsureStaticPropertyBag() {
if (s_properties == null) {
s_propJitDebugging = new ConfigurationProperty("jitDebugging", typeof(bool), JitDebuggingDefault, ConfigurationPropertyOptions.None);
ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
properties.Add(s_propJitDebugging);
s_properties = properties;
}
return s_properties;
}
public WindowsFormsSection() {
EnsureStaticPropertyBag();
}
protected override ConfigurationPropertyCollection Properties {
get {
return EnsureStaticPropertyBag();
}
}
[ConfigurationProperty("jitDebugging", DefaultValue=JitDebuggingDefault)]
public bool JitDebugging {
get {
return (bool) base[s_propJitDebugging];
}
set {
base[s_propJitDebugging] = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- metadatamappinghashervisitor.cs
- RegistryHandle.cs
- Empty.cs
- XmlUtil.cs
- HttpResponseHeader.cs
- ConsoleTraceListener.cs
- EntityContainerRelationshipSet.cs
- CodeLinePragma.cs
- MultipartIdentifier.cs
- SyntaxCheck.cs
- VectorKeyFrameCollection.cs
- LocalizabilityAttribute.cs
- PathFigureCollectionConverter.cs
- OraclePermissionAttribute.cs
- NameValueSectionHandler.cs
- AudioFormatConverter.cs
- HtmlMobileTextWriter.cs
- AdditionalEntityFunctions.cs
- EntityContainerEntitySet.cs
- IpcClientChannel.cs
- TypedColumnHandler.cs
- ReflectionServiceProvider.cs
- DateTimeConstantAttribute.cs
- FormViewUpdateEventArgs.cs
- RoutedEventValueSerializer.cs
- CharAnimationBase.cs
- PinnedBufferMemoryStream.cs
- DependencyObject.cs
- TextBoxBase.cs
- SkinIDTypeConverter.cs
- StorageBasedPackageProperties.cs
- QuaternionRotation3D.cs
- BitmapPalettes.cs
- ConstraintEnumerator.cs
- DataRowView.cs
- ListBase.cs
- CultureInfo.cs
- ObjectDataSource.cs
- ProviderSettings.cs
- ExpressionBindings.cs
- CustomValidator.cs
- WindowsFormsHelpers.cs
- XmlStreamStore.cs
- Base64Decoder.cs
- Exceptions.cs
- DataSvcMapFileSerializer.cs
- StylusShape.cs
- LoginNameDesigner.cs
- X509Certificate2Collection.cs
- WindowsSolidBrush.cs
- Internal.cs
- EventMappingSettings.cs
- TemplateKeyConverter.cs
- RecognizedPhrase.cs
- StackSpiller.Generated.cs
- DataGridColumn.cs
- AnnotationDocumentPaginator.cs
- SafeFileMapViewHandle.cs
- AcceleratedTokenProviderState.cs
- EntityDataSourceView.cs
- DesignerActionItem.cs
- ColorInterpolationModeValidation.cs
- ExpressionWriter.cs
- PageBreakRecord.cs
- PointLight.cs
- DataControlFieldCollection.cs
- Translator.cs
- ClientConfigurationHost.cs
- COAUTHINFO.cs
- Panel.cs
- RoleManagerSection.cs
- PageBreakRecord.cs
- EncryptedKey.cs
- UriTemplateLiteralPathSegment.cs
- ForeignConstraint.cs
- FileRecordSequenceHelper.cs
- Cursors.cs
- SafeSecurityHandles.cs
- TextTreeUndoUnit.cs
- ExtensionSimplifierMarkupObject.cs
- ExceptionHelpers.cs
- AmbientProperties.cs
- FlowDocument.cs
- PreloadHost.cs
- FileUpload.cs
- WebBrowserNavigatingEventHandler.cs
- GeneralTransformGroup.cs
- LineGeometry.cs
- FacetEnabledSchemaElement.cs
- Point3D.cs
- XmlNamedNodeMap.cs
- Win32MouseDevice.cs
- ControlPaint.cs
- DbgUtil.cs
- ModifierKeysConverter.cs
- AspNetRouteServiceHttpHandler.cs
- ParallelDesigner.cs
- MembershipUser.cs
- TypeLibConverter.cs
- DockAndAnchorLayout.cs