示例#1
0
        private static async Task RunAsync()
        {
            using (var factory = new TheFactory())
            {
                await factory.Get <TelegramNotificationBot>().StartAsync();

                factory.Get <NotificationTask>().Run();
                factory.Get <VerificationTask>().Run();
                Console.ReadKey();
            }
        }
示例#2
0
 public virtual void SetUp()
 {
     Factory = new TheFactory();
 }