Skip to content
This repository has been archived by the owner on Jan 6, 2018. It is now read-only.

richclement/HangFire.TinyIoC

Repository files navigation

HangFire.TinyIoC

Build status

HangFire background job activator based on TinyIoC Container. It allows you to use instance methods of classes that define parameterized constructors

Installation

HangFire.TinyIoC is available as a NuGet Package. Type the following command into the Nuget package Manager Console window to install it:

Install-Package Hangfire.TinyIoC

Usage

This package provides an extension method for OWIN bootstrapper:

app.UseHangfire(config =>
{
	var container = new TinyIoCContainer();
	config.UseTinyIoCActivator(container);
});

In order to use the library outside of web application, set the static JobActivator.Current property:

var container = new TinyIoCContainer();
JobActivator.Current = new TinyIoCJobActivator(container);

About

HangFire job activator based on TinyIoC Container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages