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
- DispatcherExceptionEventArgs.cs
- PropertyMap.cs
- DataRelation.cs
- GlobalizationAssembly.cs
- DecoratedNameAttribute.cs
- SourceFilter.cs
- Repeater.cs
- StylusCaptureWithinProperty.cs
- ProtocolsConfiguration.cs
- DateTimePicker.cs
- WebCategoryAttribute.cs
- ApplicationServiceManager.cs
- SqlNamer.cs
- SchemaComplexType.cs
- Scheduler.cs
- ColorConvertedBitmap.cs
- OperationInvokerBehavior.cs
- SQLResource.cs
- ResourceReferenceKeyNotFoundException.cs
- JsonReaderDelegator.cs
- TextAutomationPeer.cs
- HtmlTableRowCollection.cs
- ScriptReference.cs
- TextStore.cs
- CompositeTypefaceMetrics.cs
- SafeFileMapViewHandle.cs
- DictionaryGlobals.cs
- TextRenderer.cs
- _OverlappedAsyncResult.cs
- TriggerAction.cs
- CompatibleComparer.cs
- InputProcessorProfiles.cs
- KeyGesture.cs
- RoutedPropertyChangedEventArgs.cs
- recordstatefactory.cs
- BitStack.cs
- QilPatternFactory.cs
- IssuedTokenClientElement.cs
- SqlStream.cs
- SqlBuffer.cs
- Assert.cs
- MenuTracker.cs
- DelegatedStream.cs
- ElementUtil.cs
- XmlQuerySequence.cs
- CustomErrorsSectionWrapper.cs
- XXXInfos.cs
- ParallelRangeManager.cs
- FrameworkElement.cs
- DesignerTransaction.cs
- ServiceReflector.cs
- GcSettings.cs
- ImmutableDispatchRuntime.cs
- WindowsAuthenticationEventArgs.cs
- ReadOnlyCollection.cs
- Crc32Helper.cs
- SafeLibraryHandle.cs
- DependencyObjectPropertyDescriptor.cs
- TextBoxBaseDesigner.cs
- DeploymentExceptionMapper.cs
- FindCriteria.cs
- MessageHeaderT.cs
- SettingsPropertyValueCollection.cs
- GenerateScriptTypeAttribute.cs
- Camera.cs
- AnimationTimeline.cs
- StylusTip.cs
- GeometryGroup.cs
- UrlSyndicationContent.cs
- baseaxisquery.cs
- Boolean.cs
- DataSource.cs
- ValuePatternIdentifiers.cs
- DetailsViewAutoFormat.cs
- FontConverter.cs
- CdpEqualityComparer.cs
- ExeConfigurationFileMap.cs
- SearchForVirtualItemEventArgs.cs
- IApplicationTrustManager.cs
- UnsupportedPolicyOptionsException.cs
- cryptoapiTransform.cs
- XmlSchemaInferenceException.cs
- DataGridViewComboBoxColumnDesigner.cs
- CompareInfo.cs
- BitmapEffectInput.cs
- DifferencingCollection.cs
- httpapplicationstate.cs
- HttpTransportSecurityElement.cs
- DataSourceSelectArguments.cs
- PtsHelper.cs
- ConsoleKeyInfo.cs
- DataColumnChangeEvent.cs
- Scanner.cs
- WorkflowServiceHostFactory.cs
- ReachPageContentCollectionSerializer.cs
- SynchronizedDisposablePool.cs
- CustomAttribute.cs
- QueryCursorEventArgs.cs
- SrgsRule.cs
- DetailsViewRowCollection.cs