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
- EventBindingService.cs
- SqlNode.cs
- BrowserDefinition.cs
- TextPointerBase.cs
- SamlAudienceRestrictionCondition.cs
- ObjectItemLoadingSessionData.cs
- FlowLayout.cs
- AudienceUriMode.cs
- AnnotationComponentManager.cs
- EdmSchemaError.cs
- DisplayNameAttribute.cs
- SuppressMergeCheckAttribute.cs
- NativeStructs.cs
- ContentWrapperAttribute.cs
- MetabaseSettingsIis7.cs
- ContentDisposition.cs
- RoutingEndpointTrait.cs
- PropertyEmitterBase.cs
- SecurityElement.cs
- EventNotify.cs
- SchemeSettingElement.cs
- StreamGeometry.cs
- SamlAssertionKeyIdentifierClause.cs
- ElementNotAvailableException.cs
- ByteStorage.cs
- ManagementDateTime.cs
- TransactionProtocolConverter.cs
- UnsafeNativeMethods.cs
- BackgroundWorker.cs
- ClientSideQueueItem.cs
- TraceRecords.cs
- SpeechSynthesizer.cs
- _SingleItemRequestCache.cs
- FormViewInsertEventArgs.cs
- SelectionEditingBehavior.cs
- MenuAdapter.cs
- XmlChildNodes.cs
- Size.cs
- LocalsItemDescription.cs
- ObjectStateManagerMetadata.cs
- Accessible.cs
- OpCopier.cs
- BehaviorEditorPart.cs
- EmptyQuery.cs
- WbmpConverter.cs
- StructuredCompositeActivityDesigner.cs
- OrderedParallelQuery.cs
- DataBindingExpressionBuilder.cs
- SamlConditions.cs
- BindingExpressionBase.cs
- BezierSegment.cs
- DataGridViewCheckBoxCell.cs
- ZeroOpNode.cs
- HttpStreamMessageEncoderFactory.cs
- EmulateRecognizeCompletedEventArgs.cs
- OutputBuffer.cs
- ToolStripDropDownButton.cs
- ColorAnimationBase.cs
- WebPartManagerInternals.cs
- VisualProxy.cs
- ConfigXmlElement.cs
- CheckedListBox.cs
- FrameworkName.cs
- ObjectListSelectEventArgs.cs
- TypeGeneratedEventArgs.cs
- TraceSwitch.cs
- securitycriticaldataformultiplegetandset.cs
- SchemaMerger.cs
- XmlComplianceUtil.cs
- VolatileResourceManager.cs
- CultureSpecificCharacterBufferRange.cs
- SqlNotificationRequest.cs
- XamlReader.cs
- ItemDragEvent.cs
- VerificationException.cs
- IdlingCommunicationPool.cs
- TextRunProperties.cs
- MainMenu.cs
- InputReport.cs
- Faults.cs
- ConnectionPointGlyph.cs
- PermissionSetEnumerator.cs
- DataTableClearEvent.cs
- UserControlParser.cs
- FontDifferentiator.cs
- AtlasWeb.Designer.cs
- TreeViewItemAutomationPeer.cs
- DbModificationCommandTree.cs
- ZoneButton.cs
- PerformanceCounter.cs
- ChannelSinkStacks.cs
- Brush.cs
- WeakHashtable.cs
- _IPv4Address.cs
- WebPart.cs
- ParameterRetriever.cs
- CompiledIdentityConstraint.cs
- SqlExpander.cs
- InstanceKey.cs
- ArrowControl.xaml.cs