public StatusViewModel(PublishManager manager) { _manager = manager; _ipfsDaemon = _manager.IpfsDaemon; IpfsStatus = "Idle"; _ipfsDaemon.OnStateChanged += _ipfsDaemon_OnStateChanged; }
public DeploymentManager(Dispatcher dispatcher, ILogger logger, Action raiseUi) { Dispatcher = dispatcher; L = logger; _raiseUi = raiseUi; Daemon = new IpFsDaemon(this); Api = new IpFsApi(this); }
public StatusViewModel(DeploymentManager manager) { _manager = manager; _ipfsDaemon = _manager.Daemon; IpfsStatus = "Idle"; DnsStatus = "Idle"; _ipfsDaemon.OnStateChanged += _ipfsDaemon_OnStateChanged; _manager.OnDnsRetrieved += _manager_OnDnsRetrieved; }
public IpFsApi(IpFsDaemon daemon) { _daemon = daemon; _client = daemon.Client; L = daemon.L; }
public Radiant(ILogger logger) { L = logger; IpfsDaemon = new IpFsDaemon(logger); IpFsApi = new IpFsApi(IpfsDaemon); }