public StravaService( IApiFactory apiFactory, ILocalRepo <StravaActivity> activitiesRepo, ICurrentUserService userService, IMapperService mapper) { this.stravaApi = apiFactory.Api <IStravaApi>(); this.activitiesRepo = activitiesRepo; this.userService = userService; this.mapper = mapper; }
public CurrentUserService(ILocalRepo <User> repo) { this.repo = repo; InitializeCurrentUser(); }
public static ILocalRepo New(ILocalRepo impl) { return new SyncClientRepo(impl); }
private LocalDispatcher(IIoC ioc) { _counters = new Counters(); _log = ioc.Resolve<ILogFile>(); _lrepo = ioc.Resolve<ILocalRepo>(); }
private SyncClientRepo(ILocalRepo impl) { _impl = impl; }