public static async Task Main(string[] args)
        {
#if DEBUG
            await LykkeStarter.Start <Startup>(true);
#else
            await LykkeStarter.Start <Startup>(false);
#endif
        }
예제 #2
0
        /// <summary>
        /// Application entrypoint.
        /// </summary>
        public static Task Main(string[] args)
        {
#if DEBUG
            return(LykkeStarter.Start <Startup>(true));
#else
            return(LykkeStarter.Start <Startup>(false));
#endif
        }
예제 #3
0
        public static Task StartAsync <TStartup, TSettings>(
            bool isDebug)
            where TStartup : ApiStartupBase <TSettings>
            where TSettings : ApiSettings
        {
            IsDebug = isDebug;

            return(LykkeStarter.Start <TStartup>(isDebug));
        }
예제 #4
0
        /// <summary>Application entrypoint</summary>
        public static Task Main(string[] args)
        {
            const int port = 5000;

#if DEBUG
            return(LykkeStarter.Start <Startup>(true, port));
#else
            return(LykkeStarter.Start <Startup>(false, port));
#endif
        }
예제 #5
0
        static async Task Main(string[] args)
        {
//#$if DEBUG
            await LykkeStarter.Start <Startup>(true, 5002);

//#$else
            await LykkeStarter.Start <Startup>(false);

//#$endif
        }
예제 #6
0
        // ReSharper disable once UnusedParameter.Global
        public static async Task Main(string[] args)
        {
#if DEBUG
            var port = 5002;

            IntegrationName = args.Length < 1 ? "Example" : args[0];

            if (args.Length > 1)
            {
                port = int.Parse(args[1]);
            }

            await LykkeStarter.Start <Startup>(true, port);
#else
            await LykkeStarter.Start <Startup>(false);
#endif
        }