Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public static IServices AddPolling <T>(this IServices services, PollingConfig config) where T : class, IUpdateHandler => services .AddSingleton(config) .AddSingleton <IUpdateHandler, T>() .AddHostedService <PollingService>();