예제 #1
0
 public RouteRefresherModule(IRouteRefresher routeRefresher, IRouteRefresherDiagnostics routeRefresherDiagnostics)
 {
     if (routeRefresher == null)
     {
         throw new ArgumentNullException("routeRefresher");
     }
     if (routeRefresherDiagnostics == null)
     {
         throw new ArgumentNullException("routeRefresherDiagnostics");
     }
     this.routeRefresher = routeRefresher;
     this.diagnostics    = routeRefresherDiagnostics;
 }
예제 #2
0
 public void Initialize(IRouteRefresherDiagnostics diagnostics, ISharedCacheClient anchorMailboxCacheClient, ISharedCacheClient mailboxServerCacheClient)
 {
     this.routeRefresherDiagnostics = diagnostics;
     this.anchorMailboxCacheClient  = anchorMailboxCacheClient;
     this.mailboxServerCacheClient  = mailboxServerCacheClient;
 }
예제 #3
0
 public RouteRefresher(ISharedCacheClient anchorMailboxCacheClient, ISharedCacheClient mailboxServerCacheClient, IRouteRefresherDiagnostics diagnostics)
 {
     this.Initialize(diagnostics, anchorMailboxCacheClient, mailboxServerCacheClient);
 }
예제 #4
0
 public RouteRefresher(IRouteRefresherDiagnostics diagnostics)
 {
     RouteRefresher.InitializeStaticCacheClients();
     this.Initialize(diagnostics, RouteRefresher.anchorMailboxCacheClientInstance, RouteRefresher.mailboxServerCacheClientInstance);
 }