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
- DataServiceException.cs
- DocComment.cs
- SchemaNames.cs
- InitializeCorrelation.cs
- Drawing.cs
- StorageConditionPropertyMapping.cs
- CompositeFontInfo.cs
- ImageButton.cs
- AppDomain.cs
- IISMapPath.cs
- LeaseManager.cs
- ExpressionConverter.cs
- XamlReaderConstants.cs
- MD5Cng.cs
- Floater.cs
- SoapRpcMethodAttribute.cs
- DbException.cs
- ConfigDefinitionUpdates.cs
- ConstraintManager.cs
- QilList.cs
- DetailsViewUpdatedEventArgs.cs
- HttpListenerContext.cs
- VectorAnimationBase.cs
- ClientFormsAuthenticationMembershipProvider.cs
- XXXInfos.cs
- DesignTimeVisibleAttribute.cs
- EventToken.cs
- HyperLinkColumn.cs
- SortedSetDebugView.cs
- ConfigXmlSignificantWhitespace.cs
- DashStyle.cs
- HtmlAnchor.cs
- DataTableClearEvent.cs
- ClientTargetSection.cs
- DispatcherObject.cs
- DataTablePropertyDescriptor.cs
- List.cs
- IconHelper.cs
- DataGridViewCellStyleChangedEventArgs.cs
- FaultContext.cs
- Timeline.cs
- ExtensionWindow.cs
- CustomErrorsSectionWrapper.cs
- SetterBase.cs
- ITextView.cs
- precedingquery.cs
- ELinqQueryState.cs
- CancellationHandlerDesigner.cs
- UniqueEventHelper.cs
- DragDrop.cs
- SchemaObjectWriter.cs
- __ConsoleStream.cs
- BitConverter.cs
- SharedStatics.cs
- SqlDuplicator.cs
- DataGridViewCellCollection.cs
- MarkupWriter.cs
- AlternateView.cs
- ItemDragEvent.cs
- ArrayHelper.cs
- C14NUtil.cs
- Rotation3DAnimation.cs
- InlineUIContainer.cs
- WebBrowserHelper.cs
- CharUnicodeInfo.cs
- CodeMemberProperty.cs
- Timeline.cs
- ProcessRequestArgs.cs
- BuildResult.cs
- cookieexception.cs
- XmlTextAttribute.cs
- QueryOutputWriter.cs
- InternalSafeNativeMethods.cs
- ResXFileRef.cs
- FileChangesMonitor.cs
- SessionStateUtil.cs
- HttpClientCertificate.cs
- TrustManagerPromptUI.cs
- Dispatcher.cs
- ConvertEvent.cs
- CharEntityEncoderFallback.cs
- SqlGatherConsumedAliases.cs
- invalidudtexception.cs
- ToolStripPanelSelectionBehavior.cs
- DeobfuscatingStream.cs
- TransformerInfoCollection.cs
- EntryPointNotFoundException.cs
- XmlTextReaderImplHelpers.cs
- ObjectParameterCollection.cs
- PageRanges.cs
- TransactionFlowOption.cs
- OdbcEnvironmentHandle.cs
- EntitySqlQueryBuilder.cs
- AssemblyNameEqualityComparer.cs
- UniqueIdentifierService.cs
- JsonReaderDelegator.cs
- Matrix3DConverter.cs
- PasswordPropertyTextAttribute.cs
- ObjectViewFactory.cs
- ListMarkerSourceInfo.cs