Example #1
0
 public Worker(ILogger <Worker> logger, IRocketLoader loader)
 {
     _logger = logger;
     _loader = loader;
 }
 public void LoadRocketOrders(IRocketLoader loader)
 {
     rocketsOrders = loader.Load();
 }
 public async Task LoadRocketOrdersAsync(IRocketLoader loader)
 {
     rocketsOrders = await loader.LoadAsync();
 }
 public CurrentRocketOrders(IRocketLoader loader)
 {
     m_RocketLoader = loader;
     LoadRocketOrders(m_RocketLoader);
 }