示例#1
0
 protected override Task <string> OnExecuteAsync()
 {
     _doerOfThings.Log(nameof(OnExecuteAsync));
     return(Task.FromResult(_doerOfThings.GetValue()));
 }
 protected override string OnExecute()
 {
     _doerOfThings.Log(nameof(OnExecute));
     return(_doerOfThings.GetValue());
 }