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); }; }
public CustomizableChannel(ICustomizableChannelFactory <TContract> factory, CustomizableChannelContext context) : base(typeof(TContract)) { _factory = factory; _context = context; }
public RetryCachedChannel(ICustomizableChannelFactory <TContract> factory, RetryCachedChannelContext context) : base(factory, context) { _channel = null; _channelLock = new object(); }