public void RegisterBillingSystem(IBillingSystem billingSystem) { if (billingSystem != null) { this.BillingSystem = billingSystem; } }
public TestProvider(IStation station, IBillingSystem billingSystem) { if (station == null) throw new ArgumentNullException(nameof(station)); if (billingSystem == null) throw new ArgumentNullException(nameof(billingSystem)); this._station = station; this._billingSystem = billingSystem; billingSystem.RegisterStation(station); }
public AccountingNotifier(IBillingSystem billingSystem) { if (billingSystem == null) { throw new ArgumentNullException(nameof(billingSystem)); } this.billingSystem = billingSystem; }
public Provider() { _station = new AtsStation(); _billingSystem = new BillingSystem(); _contracts = new List <IContract>(); AddTemplatePhoneNumbers(); }
public RefundSender(IOrderRepository repository, IBillingSystem billingSystem) { if (repository == null) { throw new ArgumentNullException(nameof(repository)); } if (billingSystem == null) { throw new ArgumentNullException(nameof(billingSystem)); } this.repository = repository; this.billingSystem = billingSystem; }
public AccountingNotifier(IBillingSystem billingSystem) { this.billingSystem = billingSystem; }
public void ConnectToBillingSystem(IBillingSystem billingSystem) { billingSystem.OnContract += this.NewContract; }
public Operator(ICollection <IStation> stations, IBillingSystem billingSystem, IReporterService reporter) : this() { _reporter = reporter; Stations = stations; BillingSystem = billingSystem; }
public BillingViewModel(IBillingSystem billingSystem) { this.billingSystem = billingSystem; }
public BillingObserver(IBillingSystem billingSystem, IBillingTriggerer billingTriggerer) { this.billingSystem = billingSystem; this.billingTriggerer = billingTriggerer; }