コード例 #1
0
 public RealController([FromServices]
                       IQuotationFiveService quotations,
                       ITimerService Timer,
                       IUserService userService,
                       IAddUserService addUserService,
                       NotificationsMessageHandler notificationsService
                       )
 {
     QuotationsFive       = quotations;
     timer                = Timer;
     UserService          = userService;
     NotificationsService = notificationsService;
     AddUserService       = addUserService;
     bool work = false;
 }
コード例 #2
0
ファイル: MainController.cs プロジェクト: Ruslan199/TraderApi
 public MainController([FromServices] IQuotationFiveService quotations)
 {
     QuotationsFive = quotations;
 }