Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / ModuleElement.cs / 1305376 / ModuleElement.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net.Configuration
{
using System;
using System.Configuration;
using System.Reflection;
using System.Security.Permissions;
public sealed class ModuleElement : ConfigurationElement
{
public ModuleElement()
{
this.properties.Add(this.type);
}
protected override ConfigurationPropertyCollection Properties
{
get
{
return this.properties;
}
}
[ConfigurationProperty(ConfigurationStrings.Type)]
public string Type
{
get { return (string)this[this.type]; }
set { this[this.type] = value; }
}
ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
readonly ConfigurationProperty type =
new ConfigurationProperty(ConfigurationStrings.Type,
typeof(string),
null,
ConfigurationPropertyOptions.None);
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net.Configuration
{
using System;
using System.Configuration;
using System.Reflection;
using System.Security.Permissions;
public sealed class ModuleElement : ConfigurationElement
{
public ModuleElement()
{
this.properties.Add(this.type);
}
protected override ConfigurationPropertyCollection Properties
{
get
{
return this.properties;
}
}
[ConfigurationProperty(ConfigurationStrings.Type)]
public string Type
{
get { return (string)this[this.type]; }
set { this[this.type] = value; }
}
ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
readonly ConfigurationProperty type =
new ConfigurationProperty(ConfigurationStrings.Type,
typeof(string),
null,
ConfigurationPropertyOptions.None);
}
}
// 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
- ErrorRuntimeConfig.cs
- PointHitTestParameters.cs
- configsystem.cs
- IFormattable.cs
- ControlTemplate.cs
- OdbcStatementHandle.cs
- CodeTypeParameterCollection.cs
- SystemIPAddressInformation.cs
- CryptoProvider.cs
- PanelStyle.cs
- DeflateStream.cs
- ActivityCodeDomSerializationManager.cs
- NumericUpDown.cs
- ProtocolsConfiguration.cs
- UIElement.cs
- ImpersonationContext.cs
- _ShellExpression.cs
- WebPartConnection.cs
- JapaneseLunisolarCalendar.cs
- SecurityTokenParameters.cs
- webclient.cs
- TrackBarRenderer.cs
- mda.cs
- RegexWriter.cs
- PageFunction.cs
- ArcSegment.cs
- RetrieveVirtualItemEventArgs.cs
- DataGridAddNewRow.cs
- DefaultValueConverter.cs
- XmlHierarchicalDataSourceView.cs
- UserPreferenceChangingEventArgs.cs
- IncrementalReadDecoders.cs
- MDIControlStrip.cs
- XmlQueryRuntime.cs
- HttpCachePolicyElement.cs
- NavigationPropertyEmitter.cs
- ClientSettings.cs
- ECDsaCng.cs
- CustomErrorsSectionWrapper.cs
- coordinatorfactory.cs
- HierarchicalDataBoundControl.cs
- FileDetails.cs
- PixelShader.cs
- FormsAuthenticationUser.cs
- TypefaceMap.cs
- AuthenticationModulesSection.cs
- XPathEmptyIterator.cs
- mediaclock.cs
- CompilerTypeWithParams.cs
- DataRecordInternal.cs
- XmlBufferReader.cs
- RangeValuePattern.cs
- ScaleTransform.cs
- PageVisual.cs
- _LoggingObject.cs
- Empty.cs
- HandoffBehavior.cs
- UserMapPath.cs
- AssemblyBuilder.cs
- FixedSOMFixedBlock.cs
- QueryAccessibilityHelpEvent.cs
- ZipIOLocalFileBlock.cs
- ValidatedMobileControlConverter.cs
- InkPresenterAutomationPeer.cs
- SafePEFileHandle.cs
- HtmlMeta.cs
- DataGridViewCellStyle.cs
- InputProviderSite.cs
- MonitorWrapper.cs
- XmlSchemaAny.cs
- SuppressMergeCheckAttribute.cs
- ComplusTypeValidator.cs
- SchemaImporterExtensionsSection.cs
- WebPartEditorCancelVerb.cs
- CharConverter.cs
- Operator.cs
- Identifier.cs
- ServiceDebugElement.cs
- HtmlInputFile.cs
- QilGeneratorEnv.cs
- TableItemStyle.cs
- CompressedStack.cs
- XmlSchemaNotation.cs
- InputProcessorProfiles.cs
- UrlMapping.cs
- ListViewSelectEventArgs.cs
- XmlSchemaSet.cs
- TypeReference.cs
- ToolStripDropTargetManager.cs
- RequestSecurityTokenResponse.cs
- StopStoryboard.cs
- StatusBarItem.cs
- TailPinnedEventArgs.cs
- DesigntimeLicenseContextSerializer.cs
- StringDictionary.cs
- XmlText.cs
- GridViewCommandEventArgs.cs
- CompositeFontInfo.cs
- Win32Native.cs
- XmlSchemaAttributeGroup.cs