Example #1
0
 internal DataCenterService(Authentication authentication, IServiceInvoker serviceInvoker, GroupService groupService, AccountService accountService, BillingService billingService)
     : base(authentication, serviceInvoker)
 {
     this.groupService = groupService;
     this.accountService = accountService;
     this.billingService = billingService;
 }
Example #2
0
 private void InitializeServices()
 {
     var invoker = Configuration.ServiceInvoker;
     var resolver = Configuration.ServiceResolver;            
     DataCenters = resolver.Resolve<DataCenterService>(Authentication, invoker);
     Groups = resolver.Resolve<GroupService>(Authentication, invoker);
     Queues = resolver.Resolve<QueueService>(Authentication, invoker);
     Servers = resolver.Resolve<ServerService>(Authentication, invoker);
     Alerts = resolver.Resolve<AlertService>(Authentication, invoker);
     Billing = resolver.Resolve<BillingService>(Authentication, invoker);
     Account = resolver.Resolve<AccountService>(Authentication, invoker);
 }