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
- GenericXmlSecurityToken.cs
- SingleTagSectionHandler.cs
- XmlNodeChangedEventArgs.cs
- BinaryObjectInfo.cs
- ClientConvert.cs
- FacetChecker.cs
- OpCodes.cs
- XmlBinaryWriterSession.cs
- CngProperty.cs
- NetworkInterface.cs
- codemethodreferenceexpression.cs
- NonceToken.cs
- DecoderNLS.cs
- StructuralType.cs
- UnsafeNativeMethods.cs
- RandomNumberGenerator.cs
- BitmapCache.cs
- Context.cs
- ToolStripPanel.cs
- DesignTimeParseData.cs
- LambdaSerializationException.cs
- GroupQuery.cs
- VirtualPathUtility.cs
- UnsafePeerToPeerMethods.cs
- MailSettingsSection.cs
- NameValueCollection.cs
- RtfToXamlReader.cs
- XmlWrappingReader.cs
- MetadataCache.cs
- BrowsableAttribute.cs
- IApplicationTrustManager.cs
- SafeEventLogWriteHandle.cs
- TypeElement.cs
- DllNotFoundException.cs
- ObjectDataSource.cs
- UnmanagedHandle.cs
- MatrixTransform3D.cs
- DataGridViewBindingCompleteEventArgs.cs
- WebPartEventArgs.cs
- _SingleItemRequestCache.cs
- SecurityElement.cs
- LinqTreeNodeEvaluator.cs
- LogStore.cs
- OleTxTransaction.cs
- ExpressionQuoter.cs
- ResourceManagerWrapper.cs
- LayoutEvent.cs
- FeatureSupport.cs
- DiscreteKeyFrames.cs
- SiteOfOriginContainer.cs
- ColorMap.cs
- NavigationWindow.cs
- StdRegProviderWrapper.cs
- COM2FontConverter.cs
- TextAdaptor.cs
- DbQueryCommandTree.cs
- StyleXamlParser.cs
- ByteStreamMessageEncoderFactory.cs
- LocalizableAttribute.cs
- GraphicsContext.cs
- TrustSection.cs
- OracleCommand.cs
- HitTestWithPointDrawingContextWalker.cs
- NativeMethodsCLR.cs
- DecoderReplacementFallback.cs
- AstNode.cs
- VisualCollection.cs
- SimpleBitVector32.cs
- isolationinterop.cs
- ParentQuery.cs
- WindowsServiceCredential.cs
- TogglePattern.cs
- ScrollableControl.cs
- TypeGenericEnumerableViewSchema.cs
- ISSmlParser.cs
- CachedPathData.cs
- ReflectionUtil.cs
- DataPagerFieldCollection.cs
- ParameterBuilder.cs
- WorkflowCreationContext.cs
- ToolStripDropDown.cs
- TrackingServices.cs
- CounterCreationData.cs
- BuildManagerHost.cs
- ManagementNamedValueCollection.cs
- StrokeCollection2.cs
- StylusTip.cs
- IPipelineRuntime.cs
- MemberAccessException.cs
- TextTreeUndoUnit.cs
- HttpListenerRequest.cs
- ResXBuildProvider.cs
- RemotingConfiguration.cs
- TrackingDataItem.cs
- DataServiceRequest.cs
- DesignerForm.cs
- TableItemProviderWrapper.cs
- CollectionBase.cs
- BitmapEffectDrawingContent.cs
- WorkflowClientDeliverMessageWrapper.cs