public SettingsControlViewModel(IBillingManager bill) { BuyServiceCommand = new RelayCommand(args => { OnClose(); bill.NavigateToBuyServiceWizard(); }); }
public ExpiryPopupViewModel(IBillingManager billing, DateTime time) { Time = time; _timer.Elapsed += _timer_Tick; BuyCommand = new RelayCommand(args => { Close(); billing.NavigateToBuyServiceWizard(); }); }
public ServiceMonitor(PanaceaServices core, IBillingManager billing) { _core = core; _billing = billing; _timer = new Timer() { Interval = 10000 }; _timer.Elapsed += _timer_Elapsed; }
public SubscriptionController(SubscriptionPackageRepository packages, SubscriptionPlanRepository plans, CompanyRepository companies, IBillingManager billingManager, ILoggerFactory logger) { this.packages = packages; this.plans = plans; this.companies = companies; this.billingManager = billingManager; this.logger = logger.CreateLogger("SubscriptionController"); }
public UpdateBillingData( IAwsClientFactory awsClientFactory, IRepository <AwsProfile> awsProfileRepository, IBillingManager billingManager, IClock clock, IS3PathParser pathParser ) : base(awsProfileRepository, awsClientFactory) { _awsProfileRepository = awsProfileRepository; _billingManager = billingManager; _clock = clock; _pathParser = pathParser; }
public AuthoriseController(EmployeeRepository employees, EmployeeSessionRepository employeeSessions, UserRepository users, UserSessionRepository userSessions, TokenUtil tokenUtil, ISettings settings, IBillingManager billingManager, ICryptoHelper crypto) { this.employees = employees; this.employeeSessions = employeeSessions; this.users = users; this.userSessions = userSessions; this.tokenUtil = tokenUtil; this.settings = settings; this.billingManager = billingManager; this.crypto = crypto; }
public UpdateBillingData( IAwsClientFactory awsClientFactory, IRepository<AwsProfile> awsProfileRepository, IBillingManager billingManager, IClock clock, IS3PathParser pathParser ) : base(awsProfileRepository, awsClientFactory) { _awsProfileRepository = awsProfileRepository; _billingManager = billingManager; _clock = clock; _pathParser = pathParser; }
public OrderController(OrderRepository orders, ProductRepository products, IMessagePublisher messagePublisher, Constants constants, IBillingManager billingManager, CompanyRepository companies, IOrderCalculator orderCalculator, IEnvironment environment) { this.orders = orders; this.products = products; this.messagePublisher = messagePublisher; this.constants = constants; this.billingManager = billingManager; this.companies = companies; this.random = new Random(); this.orderCalculator = orderCalculator; this.environment = environment; }
public FacadeOrchestratorBilling(IBillingManager billingManager) { this._billingManager = billingManager; }
public static bool TryGetBilling(this PanaceaServices core, out IBillingManager manager) { manager = core.PluginLoader.GetPlugins <IBillingPlugin>().FirstOrDefault()?.GetBillingManager(); return(manager != null); }
public PaymentController(IBillingManager billingManager) { this.billingManager = billingManager; }
public CompaniesController(CompanyRepository companies, IBillingManager billingManager, ILoggerFactory logger) { this.companies = companies; this.billingManager = billingManager; this.logger = logger.CreateLogger("CompaniesController"); }