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
- EncodingInfo.cs
- ToolStripPanel.cs
- BulletedListEventArgs.cs
- DataSourceCacheDurationConverter.cs
- SoapObjectInfo.cs
- RemotingConfigParser.cs
- SqlInternalConnectionTds.cs
- TcpSocketManager.cs
- InvalidOperationException.cs
- securitycriticaldataClass.cs
- TextEffect.cs
- CounterCreationData.cs
- RuleInfoComparer.cs
- ComponentEvent.cs
- GcHandle.cs
- EdmToObjectNamespaceMap.cs
- MessageBox.cs
- CompiledQuery.cs
- ConstantCheck.cs
- NotificationContext.cs
- RequestTimeoutManager.cs
- GridViewEditEventArgs.cs
- WinFormsSecurity.cs
- Base64Stream.cs
- DebugInfo.cs
- ProcessingInstructionAction.cs
- MinMaxParagraphWidth.cs
- MatrixConverter.cs
- SoapFaultCodes.cs
- ActivityBindForm.Designer.cs
- Message.cs
- MembershipValidatePasswordEventArgs.cs
- MemberInitExpression.cs
- TcpProcessProtocolHandler.cs
- MatrixIndependentAnimationStorage.cs
- DataControlImageButton.cs
- KeyValueSerializer.cs
- BitmapCacheBrush.cs
- LinqDataSourceSelectEventArgs.cs
- EventlogProvider.cs
- ImageFormatConverter.cs
- CodeMethodReturnStatement.cs
- ApplicationCommands.cs
- MemberInfoSerializationHolder.cs
- WebPartConnectionsEventArgs.cs
- XmlSchemaCollection.cs
- AuthenticatingEventArgs.cs
- IPEndPointCollection.cs
- PriorityQueue.cs
- QueueProcessor.cs
- SQLCharsStorage.cs
- QuinticEase.cs
- LayoutManager.cs
- Comparer.cs
- ArgumentsParser.cs
- SqlResolver.cs
- DbDataSourceEnumerator.cs
- FloaterBaseParaClient.cs
- HMACRIPEMD160.cs
- ListManagerBindingsCollection.cs
- DataViewSetting.cs
- ToolStripSeparator.cs
- Triangle.cs
- UrlAuthFailureHandler.cs
- Metadata.cs
- panel.cs
- SchemaObjectWriter.cs
- ComponentDesigner.cs
- DiscoveryExceptionDictionary.cs
- BindingElement.cs
- Walker.cs
- SimpleMailWebEventProvider.cs
- FormsAuthenticationTicket.cs
- XMLUtil.cs
- RTTypeWrapper.cs
- AsyncResult.cs
- ConfigurationPropertyCollection.cs
- ObjectViewListener.cs
- CircleHotSpot.cs
- RenderData.cs
- ColorTranslator.cs
- ObfuscationAttribute.cs
- EqualityComparer.cs
- TextElementAutomationPeer.cs
- BigInt.cs
- GZipDecoder.cs
- WindowsHyperlink.cs
- PowerModeChangedEventArgs.cs
- SamlDelegatingWriter.cs
- SponsorHelper.cs
- ToolStrip.cs
- StatusBarItem.cs
- QuotedPrintableStream.cs
- DefaultProfileManager.cs
- DataSetUtil.cs
- OrderedEnumerableRowCollection.cs
- IApplicationTrustManager.cs
- listitem.cs
- LoadRetryStrategyFactory.cs
- ISO2022Encoding.cs