protected static void InitAppRuntime() { ManualConfigSource configSource = new ManualConfigSource { ObjectContainer = typeof(UnityObjectContainer) }; application = AppRuntime.Create(configSource); application.AppInitEvent += application_AppInitEvent; application.Start(); }
public static ManualConfigSource GetManualConfigSource() { var source = new ManualConfigSource(); source.ObjectContainer = typeof (UnityObjectContainer); return source; }