示例#1
0
        private static async Task Main(string[] args)
        {
            IConfiguration config = new ConfigurationBuilder()
                                    .AddJsonFile("appsettings.json")
                                    .Build();

            IServiceProvider provider = Dependency.BuildDependencies(config);

            await provider.GetService <FakkuSyncClient>().Start();
        }