コード例 #1
0
ファイル: SyncController.cs プロジェクト: tolltech/muser
 public SyncController(IYandexService yandexService, IAuthorizationSettings authorizationSettings,
                       IDomainService domainService, ITrackGetter trackGetter, IProgressBar progressBar,
                       IImportResultLogger importResultLogger, IQueryExecutorFactory queryExecutorFactory,
                       ITempSessionService tempSessionService
                       )
 {
     this.yandexService         = yandexService;
     this.authorizationSettings = authorizationSettings;
     this.domainService         = domainService;
     this.trackGetter           = trackGetter;
     this.progressBar           = progressBar;
     this.importResultLogger    = importResultLogger;
     this.queryExecutorFactory  = queryExecutorFactory;
     this.tempSessionService    = tempSessionService;
 }
コード例 #2
0
 public SyncWizardController(ITempSessionService tempSessionService, ITrackGetter trackGetter,
                             IQueryExecutorFactory queryExecutorFactory,
                             IYandexService yandexService, IAuthorizationSettings authorizationSettings,
                             IJsonSerializer jsonSerializer,
                             IJsonTrackGetter jsonTrackGetter,
                             IDomainService domainService,
                             IProgressBar progressBar,
                             IImportResultLogger importResultLogger,
                             ICaptcha captcha)
 {
     this.tempSessionService    = tempSessionService;
     this.trackGetter           = trackGetter;
     this.queryExecutorFactory  = queryExecutorFactory;
     this.yandexService         = yandexService;
     this.authorizationSettings = authorizationSettings;
     this.jsonSerializer        = jsonSerializer;
     this.jsonTrackGetter       = jsonTrackGetter;
     this.domainService         = domainService;
     this.progressBar           = progressBar;
     this.importResultLogger    = importResultLogger;
     this.captcha = captcha;
 }
コード例 #3
0
ファイル: Authorization.cs プロジェクト: JonHaywood/Oberon
 /// <summary>
 /// Initializes a new instance of the <see cref="Authorization"/> class.
 /// </summary>
 /// <param name="settings">The settings.</param>
 public Authorization(IAuthorizationSettings settings)
 {
     Settings = settings;
     Load();
 }