private static void InitOnce(IPlatform platform, string appId, string apikey, Environment environment, AppacitiveSettings settings) { var context = new AppContextState(platform, appId, apikey, environment, settings); // Register defaults DefaultRegistrations.ConfigureContainer(context.Container); // Setup platform specific registrations platform.Initialize(context); _context = context; }
private static void InitOnce(IPlatform platform, string appId, string apikey, Environment environment, AppacitiveSettings settings) { var context = new AppContextState(platform, appId, apikey, environment, settings); // Register defaults DefaultRegistrations.ConfigureContainer(context.Container); // Setup platform specific registrations platform.Initialize(context); _context = context; }