Пример #1
0
        public async Task StopAsync(string configuration, TargetDevice targetdevice, Action ApplicationStopped)
        {
            await api.ApplicationStopAsync(this.Id, configuration, targetdevice.Id);

            ApplicationStopped?.Invoke();
        }
Пример #2
0
 public DockerImageInstantiator(TargetDevice device)
 {
     this.device = device;
 }
Пример #3
0
 public DockerImages(TargetDevice device) : base("Id", new DockerImageInstantiator(device))
 {
     this.api    = TorizonAPIManager.GetDevicesApi();
     this.device = device;
 }
Пример #4
0
        public Processes(TargetDevice device) : base("Pid", new ProcessInstantiator())
        {
            this.device = device;

            api = TorizonAPIManager.GetDevicesApi();
        }