Beispiel #1
0
        private static void Main(string[] args)
        {
            Arguments = args;

            var appContainer = new AppContainer <Startup, EntryPoint>();

            appContainer.Initialize();
            appContainer.Run();
        }
Beispiel #2
0
        private static void Main(InvocationContext invocationContext, string[] args)
        {
            Arguments         = args;
            InvocationContext = invocationContext;

            LoadEnvironment();

            // var elib = new ELibApi();
            //
            // elib.Authorize(ELibCredentialsType.LogPassPair, "WGOS", "0puWGQunjNDNP3Xt").Wait();
            //
            //
            // Console.WriteLine(JsonConvert.SerializeObject(elib.GetWorkInfo(41448623).Result, Formatting.Indented));

            var appContainer = new AppContainer <Startup, EntryPoint>();

            appContainer.Initialize();
            appContainer.Run();
        }