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; }
public void Initialize(IRouteRefresherDiagnostics diagnostics, ISharedCacheClient anchorMailboxCacheClient, ISharedCacheClient mailboxServerCacheClient) { this.routeRefresherDiagnostics = diagnostics; this.anchorMailboxCacheClient = anchorMailboxCacheClient; this.mailboxServerCacheClient = mailboxServerCacheClient; }
public RouteRefresher(ISharedCacheClient anchorMailboxCacheClient, ISharedCacheClient mailboxServerCacheClient, IRouteRefresherDiagnostics diagnostics) { this.Initialize(diagnostics, anchorMailboxCacheClient, mailboxServerCacheClient); }
public RouteRefresher(IRouteRefresherDiagnostics diagnostics) { RouteRefresher.InitializeStaticCacheClients(); this.Initialize(diagnostics, RouteRefresher.anchorMailboxCacheClientInstance, RouteRefresher.mailboxServerCacheClientInstance); }