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
- InstanceOwnerQueryResult.cs
- XmlComment.cs
- dbdatarecord.cs
- DeadCharTextComposition.cs
- PeerNameResolver.cs
- DecimalConverter.cs
- FixedSOMTextRun.cs
- UrlMappingsModule.cs
- HttpCapabilitiesBase.cs
- RepeatBehavior.cs
- SyntaxCheck.cs
- LightweightEntityWrapper.cs
- ResourceManager.cs
- PackageFilter.cs
- XmlSchemaSimpleTypeRestriction.cs
- EditorPartCollection.cs
- Operator.cs
- BatchParser.cs
- CodeSnippetTypeMember.cs
- FixedTextBuilder.cs
- Span.cs
- SHA1CryptoServiceProvider.cs
- MessageBox.cs
- DataQuery.cs
- BorderGapMaskConverter.cs
- TraceContextEventArgs.cs
- XPathQilFactory.cs
- NotifyParentPropertyAttribute.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- IIS7UserPrincipal.cs
- ByteAnimationUsingKeyFrames.cs
- PeerMessageDispatcher.cs
- IconConverter.cs
- HotCommands.cs
- PropertySegmentSerializationProvider.cs
- GridViewRow.cs
- ITreeGenerator.cs
- DateTimeOffset.cs
- QuerySettings.cs
- CheckBoxStandardAdapter.cs
- COM2AboutBoxPropertyDescriptor.cs
- AssemblyBuilder.cs
- DodSequenceMerge.cs
- FacetValues.cs
- EventDescriptorCollection.cs
- ClearTypeHintValidation.cs
- CompositeDesignerAccessibleObject.cs
- Dictionary.cs
- Soap12ProtocolReflector.cs
- SynchronizedCollection.cs
- Baml2006KnownTypes.cs
- DecoderFallback.cs
- CreateParams.cs
- GenericPrincipal.cs
- RightsManagementSuppressedStream.cs
- WebPartTracker.cs
- WebPartConnectionsConnectVerb.cs
- DateTimeSerializationSection.cs
- DataGridViewToolTip.cs
- LineInfo.cs
- ListViewSelectEventArgs.cs
- ElementProxy.cs
- ValueChangedEventManager.cs
- MetaType.cs
- UTF8Encoding.cs
- ObjectHandle.cs
- ControlValuePropertyAttribute.cs
- MgmtResManager.cs
- XmlSchemaSet.cs
- RoleServiceManager.cs
- WebPartMovingEventArgs.cs
- CodeParameterDeclarationExpression.cs
- XmlCharCheckingWriter.cs
- PeerObject.cs
- TraceUtility.cs
- SettingsSection.cs
- ProtectedConfigurationSection.cs
- ConfigViewGenerator.cs
- EventItfInfo.cs
- HandleCollector.cs
- CodeTypeReference.cs
- GenericXmlSecurityToken.cs
- EntityFunctions.cs
- MaterialGroup.cs
- PropertyInformationCollection.cs
- HtmlTableCellCollection.cs
- LinqDataSourceView.cs
- ExplicitDiscriminatorMap.cs
- WindowsStartMenu.cs
- DbDataRecord.cs
- JobInputBins.cs
- ForceCopyBuildProvider.cs
- VisualStyleElement.cs
- WebPartCloseVerb.cs
- DataControlFieldsEditor.cs
- SiteMapDataSourceView.cs
- SHA256Managed.cs
- XmlAnyElementAttribute.cs
- ToolStripOverflow.cs
- DataControlFieldCollection.cs