Table of Contents

IAutomationService 接口

命名空间
ClassIsland.Core.Abstractions.Services
程序集
ClassIsland.Core.dll

自动化服务。

public interface IAutomationService

属性

Configs

自动化配置文件列表

IReadOnlyList<string> Configs { get; set; }

属性值

IReadOnlyList<string>

RegisteredTriggers

public static List<TriggerInfo> RegisteredTriggers { get; }

属性值

List<TriggerInfo>

Workflows

当前配置文件的所有自动化

ObservableCollection<Workflow> Workflows { get; set; }

属性值

ObservableCollection<Workflow>

方法

RefreshConfigs()

重新加载自动化配置文件列表。

void RefreshConfigs()

SaveConfig(string)

保存自动化配置

void SaveConfig(string note = "")

参数

note string