Пример #1
0
 public User(ISoulBinder soul_binder,IAccountFinder account_finder , IWheelService wheel_service)
 {
     _SoulBinder = soul_binder;
     _AccountFinder = account_finder;
     _WheelService = wheel_service;
     _Machine = new StageMachine();
 }
Пример #2
0
 public Core(IAccountFinder account_finder , IWheelService wheel_service)
 {
     _AccountFinder = account_finder;
     _WheelService = wheel_service;
     _Updater = new Updater();
     _Hall = new Hall();
 }
    public ICarService WithWheelService(IWheelService service)
    {
        // do arguments check
        if (service == null)
        {
            throw ...;
        }

        WheelService = service;
        return(this);
    }
Пример #4
0
 public TransactionController(IWheelService wheelService)
 {
     _wheelService = wheelService;
 }
 public BalanceController(IWheelService wheelService)
 {
     _wheelService = wheelService;
 }
 public CouponController(IWheelService wheelService)
 {
     _wheelService = wheelService;
 }
 public WheelConfigurationController(IWheelService wheelService)
 {
     _wheelService = wheelService;
 }
 public WheelController(IWheelService _wheelService)
 {
     wheelService = _wheelService;
 }
Пример #9
0
 public WheelsController(IWheelService wheelService)
 {
     this.wheelService = wheelService;
 }
 public ServiceStage(ISoulBinder soul_binder , IWheelService wheel_service)
 {
     _SoulBinder = soul_binder;
     _WheelService = wheel_service;
 }
Пример #11
0
 public UserController(IWheelService wheelService)
 {
     _wheelService = wheelService;
 }
Пример #12
0
 public SpinsController(IWheelService wheelService)
 {
     _wheelService = wheelService;
 }