public static void Call <T>(this JobHost host, string methodName) { host.Call(typeof(T).GetMethod(methodName)); }
public static void Call <T>(this JobHost host, string methodName, object arguments) { host.Call(typeof(T).GetMethod(methodName), arguments); }
public static Task CallAsync <T>(this JobHost host, string methodName) { return(host.CallAsync(typeof(T).GetMethod(methodName))); }
public static Task CallAsync <T>(this JobHost host, string methodName, object arguments) { return(host.CallAsync(typeof(T).GetMethod(methodName), arguments)); }
public void Initialize(JobHost host) { }
public static IJobHostMetadataProvider CreateMetadataProvider(this JobHost host) { return(host.Services.GetService <IJobHostMetadataProvider>()); }