Add helpful string overrides

This commit is contained in:
Sipke Schoorstra 2020-12-24 21:37:02 +01:00
parent 8a4fae6f38
commit b74f97b115
3 changed files with 6 additions and 0 deletions

View file

@ -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}";
}
}

View file

@ -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}";
}
}

View file

@ -31,5 +31,7 @@
public bool PersistWorkflow { get; set; }
public bool LoadWorkflowContext { get; set; }
public bool SaveWorkflowContext { get; set; }
public override string ToString() => Type;
}
}