Skip to content

Instantly share code, notes, and snippets.

@tomwis
Created September 26, 2017 15:50
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 tomwis/62cbfce127794ea680235faa86916294 to your computer and use it in GitHub Desktop.
Save tomwis/62cbfce127794ea680235faa86916294 to your computer and use it in GitHub Desktop.
public class CoreApp : MvvmCross.Core.ViewModels.MvxApplication
{
public override void Initialize()
{
CreatableTypes()
.EndingWith("Service")
.AsInterfaces()
.RegisterAsLazySingleton();
RegisterAppStart<ViewModels.DashboardViewModel>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment