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
- ReadOnlyMetadataCollection.cs
- SHA256Cng.cs
- LZCodec.cs
- EditorPartDesigner.cs
- StreamAsIStream.cs
- TreePrinter.cs
- Marshal.cs
- ExpressionPrinter.cs
- RefreshPropertiesAttribute.cs
- ResourceProperty.cs
- Content.cs
- ImageButton.cs
- DataGridViewLinkColumn.cs
- SQLRoleProvider.cs
- ContractReference.cs
- DocumentViewerHelper.cs
- ImageFormatConverter.cs
- UnSafeCharBuffer.cs
- SwitchAttribute.cs
- DrawingImage.cs
- Mapping.cs
- ExpressionVisitor.cs
- DbUpdateCommandTree.cs
- BaseComponentEditor.cs
- EntityContainerRelationshipSetEnd.cs
- ElementNotEnabledException.cs
- ButtonBaseAdapter.cs
- ActionItem.cs
- RowTypePropertyElement.cs
- TimeSpanValidator.cs
- PointAnimationBase.cs
- XMLSchema.cs
- SelectionBorderGlyph.cs
- PropertyDescriptorCollection.cs
- RijndaelManaged.cs
- OdbcDataAdapter.cs
- KeyMatchBuilder.cs
- XmlnsCache.cs
- CompressedStack.cs
- XpsS0ValidatingLoader.cs
- ProcessInfo.cs
- TextTreeRootNode.cs
- FileInfo.cs
- Encoding.cs
- WhileDesigner.xaml.cs
- SchemaMerger.cs
- IntSecurity.cs
- SQLRoleProvider.cs
- CompareInfo.cs
- ListViewInsertionMark.cs
- ParserOptions.cs
- DecoderExceptionFallback.cs
- CacheSection.cs
- CompiledELinqQueryState.cs
- UrlPath.cs
- FormClosedEvent.cs
- RequiredFieldValidator.cs
- TextureBrush.cs
- PolyLineSegment.cs
- NamedPipeConnectionPoolSettingsElement.cs
- WindowsListViewItemStartMenu.cs
- Aggregates.cs
- VisualBrush.cs
- PanelStyle.cs
- FullTextBreakpoint.cs
- Vector3DAnimationBase.cs
- InlineUIContainer.cs
- RectValueSerializer.cs
- EnumUnknown.cs
- Utilities.cs
- CacheHelper.cs
- RecognitionResult.cs
- Cursors.cs
- TraceSection.cs
- PersianCalendar.cs
- BamlMapTable.cs
- QueryProcessor.cs
- WindowsHyperlink.cs
- IteratorFilter.cs
- ZoomPercentageConverter.cs
- DataGridTable.cs
- FunctionMappingTranslator.cs
- ComponentDispatcherThread.cs
- MobileCategoryAttribute.cs
- ScrollChrome.cs
- StateMachineWorkflowInstance.cs
- EventRecord.cs
- EdmRelationshipRoleAttribute.cs
- MimeMapping.cs
- DesignerHelpers.cs
- HttpHandlerAction.cs
- DbConnectionFactory.cs
- EmptyTextWriter.cs
- TextTreeUndoUnit.cs
- UserControlCodeDomTreeGenerator.cs
- RightsManagementPermission.cs
- DataTemplate.cs
- BinaryConverter.cs
- TdsParserSessionPool.cs
- EventManager.cs