ActionSet 类
- 程序集
- ClassIsland.Shared.dll
代表一个行动组。
public class ActionSet : ObservableRecipient, INotifyPropertyChanged, INotifyPropertyChanging
- 继承
-
ActionSet
- 实现
- 继承成员
属性
ActionItems
行动组中的所有行动项。
[ExcludeFromCodeCoverage]
[JsonPropertyName("Actions")]
public ObservableCollection<ActionItem> ActionItems { get; set; }
属性值
Guid
获取行动组 Guid。可用于标识设置叠层。
public Guid Guid { get; set; }
属性值
IsEnabled
行动组是否启用。
[ExcludeFromCodeCoverage]
public bool IsEnabled { get; set; }
属性值
IsRevertEnabled
行动组是否启用恢复。
[ExcludeFromCodeCoverage]
public bool IsRevertEnabled { get; set; }
属性值
IsWorking
获取行动组是否正在运行。
public bool IsWorking { get; }
属性值
Name
行动组的名称或备注。
[ExcludeFromCodeCoverage]
public string Name { get; set; }
属性值
Status
行动组状态。
[ExcludeFromCodeCoverage]
[JsonConverter(typeof(ActionSetStatusJsonConverter))]
public ActionSetStatus Status { get; set; }
属性值
方法
SetEndRunning(bool)
将行动组设定为结束运行。 此方法由 ActionService 自动调用。
public void SetEndRunning(bool isInvoke)
参数
isInvokebool结束触发为 true,结束恢复为 false。
SetStartRunning(bool)
将行动组设定为开始运行。 此方法由 ActionService 自动调用。
public void SetStartRunning(bool isInvoke)
参数
isInvokebool开始触发为 true,开始恢复为 false。