Skip to content

Instantly share code, notes, and snippets.

@alexeyzimarev
Created April 2, 2014 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexeyzimarev/9930005 to your computer and use it in GitHub Desktop.
Save alexeyzimarev/9930005 to your computer and use it in GitHub Desktop.
Initialize AutofacDependencyResolver for ReactiveUI sample
// this is your bootstrapper
var builder = new ContainerBuilder();
builder.RegisterAssemblyTypes(Assembly.GetExecutingAssembly()).AsImplementedInterfaces();
// some other registrations here
var container = builder.Build();
RxAppAutofacExtension.UseAutofacDependencyResolver(container);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment