Exemple #1
0
 public TransactionChannelFactory(System.ServiceModel.TransactionProtocol transactionProtocol, BindingContext context, Dictionary <DirectionalAction, TransactionFlowOption> dictionary, bool allowWildcardAction) : base(context.Binding, context.BuildInnerChannelFactory <TChannel>())
 {
     this.dictionary          = dictionary;
     this.TransactionProtocol = transactionProtocol;
     this.allowWildcardAction = allowWildcardAction;
     this.standardsManager    = SecurityStandardsHelper.CreateStandardsManager(this.TransactionProtocol);
 }
 public TransactionChannelListener(System.ServiceModel.TransactionProtocol transactionProtocol, IDefaultCommunicationTimeouts timeouts, Dictionary <DirectionalAction, TransactionFlowOption> dictionary, IChannelListener <TChannel> innerListener) : base(timeouts, innerListener)
 {
     this.dictionary          = dictionary;
     this.TransactionProtocol = transactionProtocol;
     base.Acceptor            = new TransactionChannelAcceptor <TChannel>((TransactionChannelListener <TChannel>) this, innerListener);
     this.standardsManager    = SecurityStandardsHelper.CreateStandardsManager(this.TransactionProtocol);
 }