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
- WebSysDescriptionAttribute.cs
- Aes.cs
- Polygon.cs
- WebPartZoneCollection.cs
- BindingWorker.cs
- AccessDataSourceView.cs
- HttpStaticObjectsCollectionBase.cs
- TextComposition.cs
- Keyboard.cs
- Assembly.cs
- MediaPlayer.cs
- KnownBoxes.cs
- ContextBase.cs
- RenderData.cs
- DelegateBodyWriter.cs
- ObjectManager.cs
- _ConnectionGroup.cs
- DataGridViewCellCancelEventArgs.cs
- EllipseGeometry.cs
- SlipBehavior.cs
- ScriptRegistrationManager.cs
- ProjectionPruner.cs
- FunctionDescription.cs
- IDReferencePropertyAttribute.cs
- FileChangeNotifier.cs
- XmlValidatingReader.cs
- LogExtentCollection.cs
- storepermissionattribute.cs
- EnvironmentPermission.cs
- MultiView.cs
- XmlSerializerVersionAttribute.cs
- XmlRootAttribute.cs
- SqlNamer.cs
- CollectionBase.cs
- ConsoleTraceListener.cs
- HttpRequest.cs
- CacheEntry.cs
- HttpVersion.cs
- LinqDataSourceView.cs
- MethodBuilderInstantiation.cs
- DataControlButton.cs
- TreeIterators.cs
- validation.cs
- APCustomTypeDescriptor.cs
- HyperLinkStyle.cs
- ArithmeticException.cs
- InplaceBitmapMetadataWriter.cs
- PopupRoot.cs
- ParserStreamGeometryContext.cs
- OleDbSchemaGuid.cs
- FontStretches.cs
- Imaging.cs
- PropertyIdentifier.cs
- Win32PrintDialog.cs
- ContainerSelectorActiveEvent.cs
- ServiceDescriptionReflector.cs
- SQLInt16.cs
- BindingValueChangedEventArgs.cs
- GenerateHelper.cs
- Expressions.cs
- ClientBuildManager.cs
- InvalidComObjectException.cs
- DependencyObjectProvider.cs
- Viewport3DVisual.cs
- CallInfo.cs
- ReachBasicContext.cs
- Misc.cs
- AssociationSetEnd.cs
- SafeRightsManagementEnvironmentHandle.cs
- EventDescriptor.cs
- ObjectParameter.cs
- OperationPickerDialog.designer.cs
- ChangePassword.cs
- LocalizeDesigner.cs
- DesignerView.Commands.cs
- ReadOnlyDataSource.cs
- InvokeAction.cs
- WebPartManager.cs
- oledbmetadatacolumnnames.cs
- LinqMaximalSubtreeNominator.cs
- DataControlFieldHeaderCell.cs
- InheritanceContextChangedEventManager.cs
- CancelEventArgs.cs
- ContainerVisual.cs
- CustomSignedXml.cs
- LiteralControl.cs
- IsolatedStorageFilePermission.cs
- ComponentDispatcher.cs
- MergeFailedEvent.cs
- OleDbWrapper.cs
- DocumentPageView.cs
- httpstaticobjectscollection.cs
- HyperLinkColumn.cs
- HiddenFieldDesigner.cs
- UIElement3D.cs
- ConfigLoader.cs
- CharEnumerator.cs
- TextContainerChangeEventArgs.cs
- AppDomainUnloadedException.cs
- WmfPlaceableFileHeader.cs