Пример #1
0
 public TopazChannel(ICustomizableChannelFactory <TContract> factory, TopazChannelContext context)
     : base(factory, context)
 {
     _policy           = context.Policy;
     _policy.Retrying += (sender, e) =>
     {
         Console.WriteLine("Retry - Count: {0}, Delay: {1}, Exception: {2}", e.CurrentRetryCount, e.Delay, e.LastException.Message);
     };
 }
Пример #2
0
 protected override CustomizableChannel <TContract> GetCustomizableChannel(TopazChannelContext context)
 {
     return(new TopazChannel <TContract>(this, context));
 }
Пример #3
0
 public TopazDuplexChannelFactory(TopazChannelContext context, InstanceContext callbackInstance, ServiceEndpoint endpoint)
     : base(context, callbackInstance, endpoint)
 {
 }
Пример #4
0
 public TopazDuplexChannelFactory(TopazChannelContext context, InstanceContext callbackInstance, string endpointConfigurationName)
     : base(context, callbackInstance, endpointConfigurationName)
 {
 }
Пример #5
0
 public TopazDuplexChannelFactory(TopazChannelContext context, InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress)
     : base(context, callbackInstance, binding, remoteAddress)
 {
 }
Пример #6
0
 public TopazChannelFactory(TopazChannelContext context, ServiceEndpoint endpoint)
     : base(context, endpoint)
 {
 }
Пример #7
0
 public TopazChannelFactory(TopazChannelContext context, string endpointConfigurationName)
     : base(context, endpointConfigurationName)
 {
 }
Пример #8
0
 public TopazChannelFactory(TopazChannelContext context, Binding binding, EndpointAddress remoteAddress)
     : base(context, binding, remoteAddress)
 {
 }
Пример #9
0
 public TopazChannelFactory(TopazChannelContext context, Binding binding, string remoteAddress)
     : base(context, binding, remoteAddress)
 {
 }