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
- JulianCalendar.cs
- SelectionWordBreaker.cs
- XPathPatternParser.cs
- InvalidComObjectException.cs
- WindowsListViewSubItem.cs
- VScrollBar.cs
- AppearanceEditorPart.cs
- SoapFault.cs
- DbConnectionHelper.cs
- QuaternionRotation3D.cs
- DbgUtil.cs
- WebMethodAttribute.cs
- SimpleType.cs
- CodeTypeDeclarationCollection.cs
- BinaryParser.cs
- PointValueSerializer.cs
- SerializationInfoEnumerator.cs
- HierarchicalDataBoundControl.cs
- SkewTransform.cs
- ObjectViewListener.cs
- OptimizedTemplateContent.cs
- TickBar.cs
- cookiecollection.cs
- SecurityDescriptor.cs
- BStrWrapper.cs
- ConfigurationManagerInternalFactory.cs
- ObjectStateFormatter.cs
- VariableQuery.cs
- ExtendedProtectionPolicyElement.cs
- SqlConnectionHelper.cs
- ReadWriteSpinLock.cs
- serverconfig.cs
- CheckBoxPopupAdapter.cs
- XmlSecureResolver.cs
- LocatorPartList.cs
- RawTextInputReport.cs
- StorageMappingItemCollection.cs
- DynamicHyperLink.cs
- MachinePropertyVariants.cs
- PointConverter.cs
- IncrementalReadDecoders.cs
- PropertySourceInfo.cs
- dtdvalidator.cs
- HwndAppCommandInputProvider.cs
- SystemResources.cs
- SqlHelper.cs
- DataGridHeaderBorder.cs
- TemplateBindingExtensionConverter.cs
- NavigatingCancelEventArgs.cs
- PrtTicket_Base.cs
- UnionExpr.cs
- HuffmanTree.cs
- ModuleConfigurationInfo.cs
- BCryptNative.cs
- DataGridViewIntLinkedList.cs
- VariableQuery.cs
- XmlSchemaSimpleContent.cs
- HtmlInputButton.cs
- SemanticBasicElement.cs
- DynamicPropertyHolder.cs
- PeerObject.cs
- Int64.cs
- PlatformCulture.cs
- GridItemProviderWrapper.cs
- filewebrequest.cs
- StatusBar.cs
- ParameterModifier.cs
- storepermission.cs
- ComponentConverter.cs
- XD.cs
- GridViewRowCollection.cs
- DesignerSerializerAttribute.cs
- PasswordRecovery.cs
- WmlObjectListAdapter.cs
- SecUtil.cs
- HostVisual.cs
- DecoderNLS.cs
- XslTransformFileEditor.cs
- BlobPersonalizationState.cs
- RSAOAEPKeyExchangeDeformatter.cs
- GridView.cs
- XPathExpr.cs
- ForEach.cs
- HtmlTitle.cs
- SmtpNtlmAuthenticationModule.cs
- WebConfigurationManager.cs
- AppearanceEditorPart.cs
- FontResourceCache.cs
- SizeChangedInfo.cs
- WinOEToolBoxItem.cs
- DataSourceCacheDurationConverter.cs
- GAC.cs
- CodeFieldReferenceExpression.cs
- glyphs.cs
- PerformanceCounterCategory.cs
- TableRow.cs
- DataGridCell.cs
- updatecommandorderer.cs
- AppDomainShutdownMonitor.cs
- LinqExpressionNormalizer.cs