Ejemplo n.º 1
0
 /// <summary>
 /// Sets up the application and initializes the services.
 /// </summary>
 public static void InitializeApplication()
 {
     RegisterServices();
     StartupShared.RegisterControllers();
     StartupShared.RegisterRazorViews();
     StartupShared.RegisterCloudStorageClientFactory();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets up the application and initializes the services.
 /// </summary>
 /// <param name="rootActivity">The main activity of the Android app.</param>
 public static void InitializeApplication(Activity rootActivity, ActivityResultAwaiter rootActivityResultWaiter)
 {
     Ioc.Reset();
     RegisterServices(rootActivity, rootActivityResultWaiter);
     StartupShared.RegisterControllers();
     StartupShared.RegisterRazorViews();
     StartupShared.RegisterCloudStorageClientFactory();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets up the application and initializes the services.
 /// </summary>
 /// <param name="rootActivity">The main activity of the Android app.</param>
 public static void InitializeApplication(Activity rootActivity)
 {
     // do it only the first time
     if (IsFirstTime())
     {
         RegisterServices(rootActivity);
         StartupShared.RegisterControllers();
         StartupShared.RegisterRazorViews();
         StartupShared.RegisterCloudStorageClientFactory();
     }
 }