Пример #1
0
 public ReliableService(IServiceRetryPolicy retryPolicy, IService origin)
 {
     _retryPolicy = retryPolicy;
     _origin      = origin;
 }
Пример #2
0
 public void TestInitialize()
 {
     _retryPolicy = Substitute.For <IServiceRetryPolicy>();
     _origin      = Substitute.For <IService>();
 }