示例#1
0
 public static async Task CallAsync <T>(this JobHost host, string methodName)
 {
     await host.CallAsync(typeof(T).GetMethod(methodName));
 }
示例#2
0
 public static async Task CallAsync <T>(this JobHost host, string methodName, object arguments)
 {
     await host.CallAsync(typeof(T).GetMethod(methodName), arguments);
 }