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
- TextEmbeddedObject.cs
- ToolStripRendererSwitcher.cs
- SettingsPropertyValue.cs
- AdapterDictionary.cs
- HasRunnableWorkflowEvent.cs
- StorageFunctionMapping.cs
- FormsAuthentication.cs
- MemberCollection.cs
- MailHeaderInfo.cs
- PageThemeParser.cs
- UnionCodeGroup.cs
- AsynchronousChannelMergeEnumerator.cs
- SiteMapDataSourceView.cs
- Win32KeyboardDevice.cs
- WebSysDescriptionAttribute.cs
- FrameworkTemplate.cs
- WindowsMenu.cs
- ListViewContainer.cs
- RoleServiceManager.cs
- StorageConditionPropertyMapping.cs
- BlurBitmapEffect.cs
- objectresult_tresulttype.cs
- ResourceLoader.cs
- NegationPusher.cs
- StateManagedCollection.cs
- ConnectionStringSettings.cs
- BaseHashHelper.cs
- Stylus.cs
- Typography.cs
- ClientBuildManager.cs
- FontFamily.cs
- xmlsaver.cs
- TextDecorations.cs
- PropertyEmitterBase.cs
- AspCompat.cs
- TagPrefixInfo.cs
- Margins.cs
- CaseInsensitiveHashCodeProvider.cs
- RequestCacheManager.cs
- FileInfo.cs
- DeleteHelper.cs
- GlobalProxySelection.cs
- ObjectAnimationUsingKeyFrames.cs
- DocumentOrderQuery.cs
- MsmqIntegrationSecurityMode.cs
- ThousandthOfEmRealPoints.cs
- VisualBrush.cs
- BinaryObjectInfo.cs
- MSG.cs
- ResolveDuplex11AsyncResult.cs
- XPathItem.cs
- ConfigXmlComment.cs
- Codec.cs
- ContainerFilterService.cs
- PtsPage.cs
- AnyAllSearchOperator.cs
- RectangleGeometry.cs
- UDPClient.cs
- Util.cs
- AudioException.cs
- TrustLevelCollection.cs
- OleStrCAMarshaler.cs
- TextServicesContext.cs
- KeyValuePairs.cs
- XmlSchemaGroup.cs
- ComboBoxItem.cs
- TextShapeableCharacters.cs
- Control.cs
- StatusBarItemAutomationPeer.cs
- StyleCollection.cs
- ValidationSummary.cs
- SQLBytesStorage.cs
- DataGridViewAutoSizeModeEventArgs.cs
- VirtualDirectoryMapping.cs
- SizeIndependentAnimationStorage.cs
- BackStopAuthenticationModule.cs
- HtmlEmptyTagControlBuilder.cs
- CodeConstructor.cs
- XmlSchemaSimpleContentRestriction.cs
- FontDifferentiator.cs
- EnumConverter.cs
- HashSetEqualityComparer.cs
- Policy.cs
- DbConnectionHelper.cs
- _NetRes.cs
- SecurityDescriptor.cs
- AdRotator.cs
- SoapSchemaImporter.cs
- ViewCellRelation.cs
- PtsHelper.cs
- Context.cs
- ToolStripControlHost.cs
- ValueTypeFixupInfo.cs
- DependencyProperty.cs
- PathData.cs
- XmlElementAttributes.cs
- XmlSchemaSimpleTypeUnion.cs
- ValidationRuleCollection.cs
- StorageMappingItemCollection.cs
- PointAnimationBase.cs