public async Task <bool> SetValues(string nodeId, Dictionary <string, string> values) { return(await Task.Run(() => { UiNode node = engine.GetUINode(nodeId); if (node == null) { return false; } return node.SetValues(values); })); }