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
- XPathNodeHelper.cs
- BinaryObjectWriter.cs
- FrameworkElementAutomationPeer.cs
- CookielessHelper.cs
- EdmConstants.cs
- COM2PropertyPageUITypeConverter.cs
- InternalBufferOverflowException.cs
- RedistVersionInfo.cs
- AuthenticatingEventArgs.cs
- PersonalizableTypeEntry.cs
- SafeRightsManagementEnvironmentHandle.cs
- ConvertEvent.cs
- AssemblyInfo.cs
- XmlBinaryReader.cs
- DataSysAttribute.cs
- PropertyStore.cs
- CurrentChangingEventArgs.cs
- DockingAttribute.cs
- JavaScriptSerializer.cs
- ContainerAction.cs
- PopupRootAutomationPeer.cs
- BindableTemplateBuilder.cs
- HtmlDocument.cs
- PersonalizationStateInfoCollection.cs
- SelectedPathEditor.cs
- ConstantSlot.cs
- StringResourceManager.cs
- DispatcherSynchronizationContext.cs
- AudioFileOut.cs
- GridViewDeleteEventArgs.cs
- DatePickerTextBox.cs
- TrustManager.cs
- NumberSubstitution.cs
- UriTemplateDispatchFormatter.cs
- GrammarBuilderBase.cs
- SerializationSectionGroup.cs
- pingexception.cs
- SpellerInterop.cs
- ScriptDescriptor.cs
- VisualProxy.cs
- StructuralType.cs
- ImportContext.cs
- SoapSchemaImporter.cs
- LeftCellWrapper.cs
- ILGenerator.cs
- XmlProcessingInstruction.cs
- Win32Native.cs
- LinkedList.cs
- EdmFunctionAttribute.cs
- FaultPropagationRecord.cs
- UserControl.cs
- ToolStripSplitStackLayout.cs
- DataKey.cs
- DataGridCaption.cs
- Attributes.cs
- BrowserTree.cs
- CheckedListBox.cs
- __Error.cs
- MasterPageCodeDomTreeGenerator.cs
- StoryFragments.cs
- ConfigurationStrings.cs
- DocumentReferenceCollection.cs
- WinEventQueueItem.cs
- OperatorExpressions.cs
- SrgsRule.cs
- ProviderUtil.cs
- DecimalAnimation.cs
- ApplicationFileCodeDomTreeGenerator.cs
- MetadataSource.cs
- sortedlist.cs
- HtmlHistory.cs
- ParentControlDesigner.cs
- AuthorizationRule.cs
- ErrorHandlerModule.cs
- columnmapkeybuilder.cs
- BamlMapTable.cs
- ExpandoObject.cs
- BoolExpressionVisitors.cs
- Calendar.cs
- MouseButton.cs
- GridViewRow.cs
- ReadOnlyCollectionBuilder.cs
- GPPOINTF.cs
- AuthenticationModuleElement.cs
- ProfileService.cs
- PolicyStatement.cs
- OperationResponse.cs
- EDesignUtil.cs
- XmlIlGenerator.cs
- PeerUnsafeNativeMethods.cs
- Rect3DConverter.cs
- XmlSchemaObjectTable.cs
- Translator.cs
- CqlParser.cs
- GridViewDeletedEventArgs.cs
- XPathMultyIterator.cs
- QilDataSource.cs
- CompoundFileStorageReference.cs
- RegexCharClass.cs
- ActivityCodeDomReferenceService.cs