Add helpful string overrides
This commit is contained in:
parent
8a4fae6f38
commit
b74f97b115
|
|
@ -31,5 +31,7 @@
|
|||
/// A value indicating whether the workflow context (if any) will be persisted automatically after executing this activity.
|
||||
/// </summary>
|
||||
public bool SaveWorkflowContext { get; set; }
|
||||
|
||||
public override string ToString() => $"{ActivityType.Type} - {Id}";
|
||||
}
|
||||
}
|
||||
|
|
@ -20,5 +20,7 @@ namespace Elsa.Models
|
|||
public string Type { get; set; } = default!;
|
||||
public JObject Data { get; set; } = new();
|
||||
public object? Output { get; set; }
|
||||
|
||||
public override string ToString() => $"{Type} - {Id}";
|
||||
}
|
||||
}
|
||||
|
|
@ -31,5 +31,7 @@
|
|||
public bool PersistWorkflow { get; set; }
|
||||
public bool LoadWorkflowContext { get; set; }
|
||||
public bool SaveWorkflowContext { get; set; }
|
||||
|
||||
public override string ToString() => Type;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue