public HangfireBackgroundJobManager( IBackgroundJobConfiguration backgroundJobConfiguration, IHangfireConfiguration hangfireConfiguration) { _backgroundJobConfiguration = backgroundJobConfiguration; _hangfireConfiguration = hangfireConfiguration; }
public HangfireBackgroundJobManager( IHangfireConfiguration hangfireConfiguration, IBackgroundJobConfiguration backgroundJobConfiguration, ILogger <HangfireBackgroundJobManager> logger) : base(logger) { _hangfireConfiguration = hangfireConfiguration; _backgroundJobConfiguration = backgroundJobConfiguration; _logger = logger; }
/// <summary> /// Constructor /// </summary> /// <param name="hangfireConfiguration">Hangfire Configuration</param> /// <param name="oAuthTokenValidatorConfiguration">OAuthTokenValidator Configuration</param> /// <param name="tokenValidator">TokenValidator instance</param> public OwinStartup(IHangfireConfiguration hangfireConfiguration, IOAuthTokenValidatorConfiguration oAuthTokenValidatorConfiguration, ITokenValidator tokenValidator) { _hangfireConfiguration = hangfireConfiguration; _authTokenValidatorConfiguration = oAuthTokenValidatorConfiguration; _tokenValidator = tokenValidator; }
/// <summary> /// Apply Hangfire configuration /// </summary> /// <param name="appBuilder"></param> /// <param name="configuration"></param> public static void UseHangfire(this IAppBuilder appBuilder, IHangfireConfiguration configuration) { configuration.SetupHangfire(appBuilder); }