private string GetStateCaption(string name) { var state = SampleWorkflow.StateFromName(name); return(state?.GetCaption(null)); }
private string GetStateIcon(string name) { var state = SampleWorkflow.StateFromName(name); return(state?.GetIconPath(null)); }