예제 #1
0
 protected override void RunOnce()
 {
     var deps = new EmailSpoolerDependencies(this);
     using (var spooler = new EmailSpooler(deps))
     {
         spooler.Spool();
     }
 }
        protected override void RunOnce()
        {
            var deps = new EmailSpoolerDependencies(this);

            using (var spooler = CreateSpoolerWith(deps))
            {
                spooler.Spool();
            }
        }