コード例 #1
0
 public EmailSpooler(IEmailSpoolerDependencies dependencies)
 {
     CheckDependencies(dependencies);
     _context        = dependencies.DbContext;
     _emailGenerator = dependencies.EmailGenerator;
     _config         = dependencies.EmailSpoolerConfig;
 }
コード例 #2
0
 public FakeEmailSpoolerDependenciesBuilder WithEmailSpoolerConfig(IEmailSpoolerConfig config)
 {
     _config = config;
     return(this);
 }