Created
April 2, 2014 08:14
-
-
Save alexeyzimarev/9930005 to your computer and use it in GitHub Desktop.
Initialize AutofacDependencyResolver for ReactiveUI sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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