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