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
- QuaternionAnimationBase.cs
- ExpressionBinding.cs
- LogWriteRestartAreaState.cs
- StyleHelper.cs
- MultiPageTextView.cs
- Simplifier.cs
- CodeSubDirectoriesCollection.cs
- ChangePassword.cs
- SessionStateItemCollection.cs
- ClientFormsIdentity.cs
- IsolatedStorageFileStream.cs
- ScrollBarRenderer.cs
- PriorityChain.cs
- HasActivatableWorkflowEvent.cs
- EncoderReplacementFallback.cs
- HighlightComponent.cs
- XmlTypeMapping.cs
- ModelFunctionTypeElement.cs
- OrderToken.cs
- LongTypeConverter.cs
- storepermission.cs
- InkCanvasInnerCanvas.cs
- BitmapMetadataEnumerator.cs
- IisTraceListener.cs
- BitmapEffectGroup.cs
- DPCustomTypeDescriptor.cs
- BitmapCacheBrush.cs
- XdrBuilder.cs
- ResXResourceWriter.cs
- _HelperAsyncResults.cs
- SqlDataSourceEnumerator.cs
- InvalidAsynchronousStateException.cs
- COM2FontConverter.cs
- _KerberosClient.cs
- XmlKeywords.cs
- BinHexDecoder.cs
- DataGridItemAutomationPeer.cs
- ComplexPropertyEntry.cs
- AffineTransform3D.cs
- ContractComponent.cs
- OleDbStruct.cs
- CommentEmitter.cs
- embossbitmapeffect.cs
- DbConnectionPoolGroupProviderInfo.cs
- WebPartManagerInternals.cs
- UriSectionData.cs
- __Filters.cs
- TraceInternal.cs
- XmlIlTypeHelper.cs
- DataControlReferenceCollection.cs
- ResolveCriteria.cs
- ProviderManager.cs
- VariantWrapper.cs
- ViewManager.cs
- FileDetails.cs
- HtmlTable.cs
- PathSegment.cs
- WebBrowser.cs
- InternalPermissions.cs
- TaskFileService.cs
- PrePostDescendentsWalker.cs
- Matrix3DValueSerializer.cs
- PublisherMembershipCondition.cs
- ScrollEvent.cs
- SmtpFailedRecipientException.cs
- IndexedString.cs
- NativeMethodsOther.cs
- Base64Decoder.cs
- TemplateApplicationHelper.cs
- DefaultObjectMappingItemCollection.cs
- LinearQuaternionKeyFrame.cs
- CopyAction.cs
- IISMapPath.cs
- SettingsPropertyCollection.cs
- TcpSocketManager.cs
- Not.cs
- ProfileSettingsCollection.cs
- sqlcontext.cs
- RoutedUICommand.cs
- sitestring.cs
- HandlerBase.cs
- DataGridViewSelectedCellCollection.cs
- ItemsControlAutomationPeer.cs
- ComponentDispatcherThread.cs
- CorrelationExtension.cs
- ParameterCollection.cs
- ExceptQueryOperator.cs
- DTCTransactionManager.cs
- XmlSchemaFacet.cs
- FilteredReadOnlyMetadataCollection.cs
- PreviewKeyDownEventArgs.cs
- ErrorHandler.cs
- ConfigurationManagerHelperFactory.cs
- DataColumnChangeEvent.cs
- HtmlInputRadioButton.cs
- XmlBoundElement.cs
- TileBrush.cs
- SiteMap.cs
- VectorAnimationBase.cs
- UIInitializationException.cs