private RemoteDispatcher(string myself, IIoC ioc) { _myself = myself; _counters = new Counters(); _log = ioc.Resolve<ILogFile>(); _json = ioc.Resolve<IJsonEngine>(); _rrepo = ioc.Resolve<IRemoteRepo>(); _messenger = ioc.Resolve<IMessengerEngine>(); }
public static IRemoteRepo New(IRemoteRepo impl) { return new SyncRemoteRepo(impl); }
private SyncRemoteRepo(IRemoteRepo impl) { _impl = impl; }