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
- ProcessHostServerConfig.cs
- SimpleMailWebEventProvider.cs
- CatalogPartChrome.cs
- DataGridPagingPage.cs
- NullableDoubleMinMaxAggregationOperator.cs
- IOThreadTimer.cs
- DetailsViewPageEventArgs.cs
- FixedFlowMap.cs
- EFAssociationProvider.cs
- ExecutedRoutedEventArgs.cs
- SaveFileDialogDesigner.cs
- TraceContextEventArgs.cs
- CurrentTimeZone.cs
- ColorPalette.cs
- NumericUpDownAccelerationCollection.cs
- JulianCalendar.cs
- View.cs
- TextBox.cs
- Filter.cs
- UniqueIdentifierService.cs
- ProcessInfo.cs
- Annotation.cs
- MobileListItem.cs
- InteropTrackingRecord.cs
- SendSecurityHeaderElementContainer.cs
- ColumnHeader.cs
- _HeaderInfo.cs
- ValidationEventArgs.cs
- XamlInterfaces.cs
- TextBoxRenderer.cs
- WinFormsUtils.cs
- WebPartHelpVerb.cs
- ClientUrlResolverWrapper.cs
- SystemTcpConnection.cs
- HttpResponseMessageProperty.cs
- X509Certificate.cs
- PersistenceException.cs
- RichTextBoxContextMenu.cs
- CounterCreationDataCollection.cs
- SaveCardRequest.cs
- NavigationHelper.cs
- WaitHandleCannotBeOpenedException.cs
- DesignTimeVisibleAttribute.cs
- AVElementHelper.cs
- GridViewDeletedEventArgs.cs
- HeaderLabel.cs
- FixedTextPointer.cs
- __Error.cs
- BindingCollection.cs
- ComboBoxItem.cs
- UnsettableComboBox.cs
- Renderer.cs
- MessageHeader.cs
- ImageBrush.cs
- TargetPerspective.cs
- SqlCommandBuilder.cs
- CompositeFontParser.cs
- SqlUnionizer.cs
- EventArgs.cs
- ListBoxAutomationPeer.cs
- DbDeleteCommandTree.cs
- DataGridToolTip.cs
- ScriptingRoleServiceSection.cs
- SerialErrors.cs
- ArrayExtension.cs
- DispatcherExceptionEventArgs.cs
- FusionWrap.cs
- DataGridViewRowStateChangedEventArgs.cs
- AudioException.cs
- Decoder.cs
- IPAddressCollection.cs
- VirtualDirectoryMappingCollection.cs
- SafeNativeMethods.cs
- MultiSelectRootGridEntry.cs
- TypeUtils.cs
- GenericPrincipal.cs
- MemoryRecordBuffer.cs
- ToolStrip.cs
- DataSourceNameHandler.cs
- CapabilitiesSection.cs
- GridViewHeaderRowPresenter.cs
- ProxyWebPart.cs
- SignedPkcs7.cs
- RelationshipEndCollection.cs
- Bits.cs
- CachingHintValidation.cs
- AuthenticationConfig.cs
- TemplateAction.cs
- AssociatedControlConverter.cs
- HtmlLink.cs
- TextTabProperties.cs
- TiffBitmapEncoder.cs
- HttpModulesInstallComponent.cs
- Vector3DCollection.cs
- Literal.cs
- WindowsListViewItem.cs
- FrameworkPropertyMetadata.cs
- MediaContextNotificationWindow.cs
- GlobalizationAssembly.cs
- PointAnimationBase.cs