Exemplo n.º 1
0
 public ConsoleHostedService(IGoogleOAuthAppService oAuthAppService,
                             IGoogleDriveAppService driveAppService,
                             IGoogleScriptAppService googleScriptAppService,
                             ILogger <ConsoleHostedService> logger,
                             IHostApplicationLifetime appLifetime)
 {
     _oAuthAppService        = oAuthAppService;
     _driveAppService        = driveAppService;
     _googleScriptAppService = googleScriptAppService;
     _logger      = logger;
     _appLifetime = appLifetime;
 }
Exemplo n.º 2
0
 public MainWindowPresenter(IGoogleOAuthAppService oAuthAppService,
                            IGoogleDriveAppService driveAppService)
 {
     _oAuthAppService = oAuthAppService;
     _driveAppService = driveAppService;
 }
 public GoogleOAuthAppServiceTest(ITestOutputHelper outputHelper) : base(outputHelper)
 {
     _oAuthAppService = ServiceProvider.GetService <IGoogleOAuthAppService>();
 }