public void ViewObject(string expression, string title) { ViewObjectCalls.Add(new Tuple <string, string>(expression, title)); ViewObjectHandler?.Invoke(expression, title); }
public Task ViewObjectAsync(string expression, string title, CancellationToken cancellationToken) { ViewObjectCalls.Add(new Tuple <string, string>(expression, title)); ViewObjectHandler?.Invoke(expression, title); return(Task.CompletedTask); }