Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModelInstall / System / ServiceModel / Install / Configuration / ServiceModelConfiguration.cs / 1 / ServiceModelConfiguration.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Install.Configuration { using System; using System.Xml; using System.Xml.Serialization; public class ServiceModelConfiguration { ServiceModelConfigurationSectionGroupCollection sectionGroups; ServiceModelConfigurationSectionCollection sections; [XmlElement(ElementName = "sectionGroup", IsNullable = true)] public ServiceModelConfigurationSectionGroupCollection SectionGroups { get { return sectionGroups; } } [XmlElement(ElementName = "section", IsNullable = true)] public ServiceModelConfigurationSectionCollection Sections { get { return sections; } } public ServiceModelConfiguration() { this.sectionGroups = new ServiceModelConfigurationSectionGroupCollection(); this.sections = new ServiceModelConfigurationSectionCollection(); } public ServiceModelConfiguration(ServiceModelConfigurationSectionGroup[] sectionGroups) { this.sectionGroups = new ServiceModelConfigurationSectionGroupCollection(); this.sections = new ServiceModelConfigurationSectionCollection(); foreach (ServiceModelConfigurationSectionGroup sectionGroup in sectionGroups) { this.sectionGroups.Add(sectionGroup); } } public ServiceModelConfiguration(ServiceModelConfigurationSection[] sections) { this.sectionGroups = new ServiceModelConfigurationSectionGroupCollection(); this.sections = new ServiceModelConfigurationSectionCollection(); foreach (ServiceModelConfigurationSection section in sections) { this.sections.Add(section); } } public ServiceModelConfiguration(ServiceModelConfigurationSectionGroup[] sectionGroups, ServiceModelConfigurationSection[] sections) { this.sectionGroups = new ServiceModelConfigurationSectionGroupCollection(); this.sections = new ServiceModelConfigurationSectionCollection(); 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
- DbConnectionPoolGroupProviderInfo.cs
- TypeConverterMarkupExtension.cs
- MailAddressCollection.cs
- MarshalByRefObject.cs
- Pkcs7Recipient.cs
- ToolStripGripRenderEventArgs.cs
- User.cs
- TemplateControl.cs
- FileDialogCustomPlacesCollection.cs
- ProcessHostServerConfig.cs
- ValidationError.cs
- CodeDirectoryCompiler.cs
- TreeNodeCollection.cs
- OutArgumentConverter.cs
- ConfigurationStrings.cs
- StateManagedCollection.cs
- ToolStripContainer.cs
- SR.cs
- TableCell.cs
- BamlResourceSerializer.cs
- _DigestClient.cs
- BitmapSourceSafeMILHandle.cs
- CompilerState.cs
- InstanceCreationEditor.cs
- ToolboxComponentsCreatedEventArgs.cs
- TextFormattingConverter.cs
- VirtualPathExtension.cs
- Publisher.cs
- Int32AnimationBase.cs
- ModelServiceImpl.cs
- ImageCreator.cs
- HttpHeaderCollection.cs
- WebPartManager.cs
- StringAnimationBase.cs
- InputProcessorProfiles.cs
- FlatButtonAppearance.cs
- CacheChildrenQuery.cs
- CodeConstructor.cs
- AbstractExpressions.cs
- CodeNamespaceImportCollection.cs
- InternalException.cs
- Rotation3DAnimationBase.cs
- ParameterBinding.cs
- Context.cs
- DataGridClipboardCellContent.cs
- HttpProfileGroupBase.cs
- autovalidator.cs
- RuntimeResourceSet.cs
- XmlSignatureManifest.cs
- ProviderIncompatibleException.cs
- IntSecurity.cs
- UpdateProgress.cs
- SerializationTrace.cs
- BufferModeSettings.cs
- ApplicationCommands.cs
- ProxyAttribute.cs
- ScrollViewerAutomationPeer.cs
- UTF32Encoding.cs
- DotAtomReader.cs
- ServiceModelConfigurationSectionGroup.cs
- SocketException.cs
- ResXResourceSet.cs
- DataGridViewLinkColumn.cs
- GlyphRunDrawing.cs
- FormViewRow.cs
- DataServiceBehavior.cs
- VisualTreeHelper.cs
- WaitForChangedResult.cs
- TileModeValidation.cs
- HttpPostProtocolImporter.cs
- PageWrapper.cs
- Operand.cs
- Rotation3D.cs
- TableMethodGenerator.cs
- ContainerFilterService.cs
- LocationUpdates.cs
- CalculatedColumn.cs
- ITextView.cs
- SmiContext.cs
- DataView.cs
- Vector3DAnimationUsingKeyFrames.cs
- CustomValidator.cs
- SignatureHelper.cs
- BinaryFormatter.cs
- DictionarySectionHandler.cs
- ModelItemKeyValuePair.cs
- ExpandableObjectConverter.cs
- MetadataCacheItem.cs
- SamlSubjectStatement.cs
- HtmlLinkAdapter.cs
- TypeExtension.cs
- TextEditorCopyPaste.cs
- SQLDateTime.cs
- CultureInfo.cs
- HtmlEncodedRawTextWriter.cs
- AssemblyBuilder.cs
- NativeMethods.cs
- ListViewItem.cs
- Pkcs7Signer.cs
- DbConnectionPoolGroupProviderInfo.cs