/// <summary> /// Called to update the variable names /// </summary> public async Task RefreshNames() { await Task.Run(async() => { var names = await LoadNames(); RefreshNameListView?.Invoke(names); }); }
/// <summary> /// Called to update the variable names /// </summary> public async Task RefreshNames(string filter = null) { await Task.Run(async() => { var names = await LoadNames(); var nameData = await ProcessNames(names, filter); RefreshNameListView?.Invoke(nameData); }); }