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