Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / PolicyImporterElementCollection.cs / 1 / PolicyImporterElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections; using System.Configuration; using System.Globalization; using System.ServiceModel; using System.ServiceModel.Configuration; using System.ServiceModel.Channels; [ConfigurationCollection(typeof(PolicyImporterElement), AddItemName = ConfigurationStrings.Extension)] public sealed class PolicyImporterElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public PolicyImporterElementCollection() : base(ConfigurationStrings.Extension) { } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } PolicyImporterElement configElementKey = (PolicyImporterElement)element; return configElementKey.Type; } internal void SetDefaults() { this.Add(new PolicyImporterElement(typeof(PrivacyNoticeBindingElementImporter))); this.Add(new PolicyImporterElement(typeof(UseManagedPresentationBindingElementImporter))); this.Add(new PolicyImporterElement(typeof(TransactionFlowBindingElementImporter))); this.Add(new PolicyImporterElement(typeof(ReliableSessionBindingElementImporter))); this.Add(new PolicyImporterElement(typeof(SecurityBindingElementImporter))); this.Add(new PolicyImporterElement(typeof(CompositeDuplexBindingElementImporter))); this.Add(new PolicyImporterElement(typeof(OneWayBindingElementImporter))); this.Add(new PolicyImporterElement(typeof(MessageEncodingBindingElementImporter))); this.Add(new PolicyImporterElement(typeof(TransportBindingElementImporter))); } } } // 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
- DoubleStorage.cs
- Rules.cs
- ObjectListCommandEventArgs.cs
- MailAddress.cs
- ItemCheckedEvent.cs
- Buffer.cs
- TextFormatter.cs
- EncoderExceptionFallback.cs
- HtmlControlPersistable.cs
- ISessionStateStore.cs
- Utils.cs
- DeferredBinaryDeserializerExtension.cs
- MenuItemStyle.cs
- Decoder.cs
- TextTreeExtractElementUndoUnit.cs
- MoveSizeWinEventHandler.cs
- WebBrowserSiteBase.cs
- CancelEventArgs.cs
- PeerPresenceInfo.cs
- TemplateXamlParser.cs
- ObjectSet.cs
- Error.cs
- TextContainerChangedEventArgs.cs
- CodeAttributeArgumentCollection.cs
- PropertyInformation.cs
- RectValueSerializer.cs
- DocumentPageHost.cs
- ListBoxDesigner.cs
- SqlColumnizer.cs
- DataMember.cs
- DomNameTable.cs
- XmlWrappingWriter.cs
- HttpCacheVary.cs
- SqlBulkCopyColumnMappingCollection.cs
- CommonProperties.cs
- XamlStream.cs
- WorkflowWebService.cs
- TextFormattingConverter.cs
- CodeDirectionExpression.cs
- AccessorTable.cs
- ScrollProperties.cs
- Stopwatch.cs
- EnumBuilder.cs
- InfocardClientCredentials.cs
- ExpandableObjectConverter.cs
- RedirectionProxy.cs
- DisposableCollectionWrapper.cs
- NameNode.cs
- ResXResourceWriter.cs
- SimpleMailWebEventProvider.cs
- WinEventQueueItem.cs
- PathParser.cs
- CatalogZoneBase.cs
- State.cs
- XmlResolver.cs
- ResetableIterator.cs
- SessionStateContainer.cs
- ApplicationServiceManager.cs
- ObjectToIdCache.cs
- TransformerInfoCollection.cs
- BamlLocalizableResourceKey.cs
- MdImport.cs
- Vector3DConverter.cs
- ListCommandEventArgs.cs
- Int32CollectionValueSerializer.cs
- UserControlBuildProvider.cs
- SecurityHelper.cs
- DataGridPagerStyle.cs
- _DisconnectOverlappedAsyncResult.cs
- PersonalizationAdministration.cs
- URLMembershipCondition.cs
- FormatterServices.cs
- TextSyndicationContent.cs
- SafePointer.cs
- EventItfInfo.cs
- ObjectDataSourceEventArgs.cs
- TriState.cs
- Application.cs
- SoapObjectWriter.cs
- PeerFlooder.cs
- TargetConverter.cs
- CommandPlan.cs
- FormViewCommandEventArgs.cs
- DbProviderFactories.cs
- DbConnectionClosed.cs
- ToolStripComboBox.cs
- CrossSiteScriptingValidation.cs
- XslException.cs
- BuildManagerHost.cs
- EventLogPermission.cs
- ProgressBarBrushConverter.cs
- RepeaterCommandEventArgs.cs
- HttpDigestClientCredential.cs
- PageStatePersister.cs
- DispatcherHookEventArgs.cs
- SessionPageStatePersister.cs
- NameHandler.cs
- ManagementClass.cs
- StateWorkerRequest.cs
- DataPagerField.cs