hMailServer.Smtp.AzureBlobStorage.Program.Main C# (CSharp) Метод

Main() статический приватный Метод

static private Main ( string args ) : void
args string
Результат void
        static void Main(string[] args)
        {
            Func<ISession> connectionFactory = () =>
                new SmtpServerSession(new AzureBlobStorageSmtpServerCommandHandler(), new NullLog(), new SmtpServerSessionConfiguration());

            var smtpServer = new Server(connectionFactory, new NullLog(), new ServerConfiguration());

            var task = smtpServer.RunAsync();

            task.Wait();
        }
Program