Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModelInstall / System / ServiceModel / Install / Configuration / ServiceModelConfigurationSectionGroup.cs / 1 / ServiceModelConfigurationSectionGroup.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Install.Configuration { using System; using System.Xml; using System.Xml.Serialization; public class ServiceModelConfigurationSectionGroup { string name; string type; ServiceModelConfigurationSectionGroupCollection sectionGroups; ServiceModelConfigurationSectionCollection sections; [XmlAttribute("name")] public string Name { get { return name; } set { name = value; } } [XmlElement(ElementName = "sectionGroup", IsNullable = true)] public ServiceModelConfigurationSectionGroupCollection SectionGroups { get { return sectionGroups; } } [XmlElement(ElementName = "section", IsNullable = true)] public ServiceModelConfigurationSectionCollection Sections { get { return sections; } } [XmlAttribute("type")] public string Type { get { return type; } set { type = value; } } public ServiceModelConfigurationSectionGroup() : this(null, null) { } public ServiceModelConfigurationSectionGroup(string name, string type) { this.name = name; this.type = type; this.sectionGroups = new ServiceModelConfigurationSectionGroupCollection(); this.sections = new ServiceModelConfigurationSectionCollection(); } public ServiceModelConfigurationSectionGroup(string name, string type, ServiceModelConfigurationSectionGroup[] sectionGroups) : this(name, type) { foreach (ServiceModelConfigurationSectionGroup sectionGroup in sectionGroups) { this.sectionGroups.Add(sectionGroup); } } public ServiceModelConfigurationSectionGroup(string name, string type, ServiceModelConfigurationSection[] sections) : this(name, type) { foreach (ServiceModelConfigurationSection section in sections) { this.sections.Add(section); } } public ServiceModelConfigurationSectionGroup(string name, string type, ServiceModelConfigurationSectionGroup[] sectionGroups, ServiceModelConfigurationSection[] sections) : this(name, type) { foreach (ServiceModelConfigurationSectionGroup sectionGroup in sectionGroups) { this.sectionGroups.Add(sectionGroup); } foreach (ServiceModelConfigurationSection section in sections) { this.sections.Add(section); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CategoryNameCollection.cs
- GcHandle.cs
- templategroup.cs
- CookielessHelper.cs
- querybuilder.cs
- PropertyChangedEventManager.cs
- SelectionPattern.cs
- BrowserCapabilitiesFactoryBase.cs
- LostFocusEventManager.cs
- MetadataPropertyvalue.cs
- compensatingcollection.cs
- SafeNativeMethodsOther.cs
- safelinkcollection.cs
- ProxyWebPartManager.cs
- TransmissionStrategy.cs
- SchemaNamespaceManager.cs
- SettingsPropertyIsReadOnlyException.cs
- TraversalRequest.cs
- GcSettings.cs
- Byte.cs
- AtomServiceDocumentSerializer.cs
- ApplicationServiceHelper.cs
- DrawingContextDrawingContextWalker.cs
- TraceUtils.cs
- DispatcherHookEventArgs.cs
- ColorPalette.cs
- SafeUserTokenHandle.cs
- CompressStream.cs
- ExpressionLink.cs
- RpcCryptoRequest.cs
- SharedMemory.cs
- KeyEventArgs.cs
- AutomationPropertyInfo.cs
- AssemblyAttributes.cs
- NameObjectCollectionBase.cs
- WindowCollection.cs
- InvalidDataContractException.cs
- CheckBoxField.cs
- NavigatorInput.cs
- TdsParser.cs
- Validator.cs
- PagerStyle.cs
- TileModeValidation.cs
- RuleSetBrowserDialog.cs
- EntityModelSchemaGenerator.cs
- TextSpanModifier.cs
- CodeIndexerExpression.cs
- TCEAdapterGenerator.cs
- PtsContext.cs
- RequestQueryParser.cs
- mda.cs
- SqlReorderer.cs
- BitmapMetadataBlob.cs
- LinkTarget.cs
- ColorMatrix.cs
- WebPartConnectionsConnectVerb.cs
- FacetDescriptionElement.cs
- SqlSupersetValidator.cs
- ComponentChangedEvent.cs
- RowsCopiedEventArgs.cs
- ProxyHelper.cs
- NavigatorInput.cs
- StrongName.cs
- ListBoxAutomationPeer.cs
- GridViewRowCollection.cs
- TreeView.cs
- SmiContext.cs
- METAHEADER.cs
- Boolean.cs
- GenericsInstances.cs
- ValueExpressions.cs
- TableLayoutColumnStyleCollection.cs
- MouseOverProperty.cs
- diagnosticsswitches.cs
- ContainerControl.cs
- BoundField.cs
- SqlDataSource.cs
- GenericPrincipal.cs
- ScriptingProfileServiceSection.cs
- DbConnectionPoolGroupProviderInfo.cs
- Grammar.cs
- Ref.cs
- UpdateException.cs
- IisTraceListener.cs
- HtmlEmptyTagControlBuilder.cs
- RequestNavigateEventArgs.cs
- TemplatePropertyEntry.cs
- TableLayoutPanelCellPosition.cs
- WebServicesInteroperability.cs
- CodeSubDirectory.cs
- LocalValueEnumerator.cs
- CodeValidator.cs
- ProcessModelSection.cs
- CompilerCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- EventMap.cs
- DataGridToolTip.cs
- DetectEofStream.cs
- MinMaxParagraphWidth.cs
- MailHeaderInfo.cs