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