Ejemplo n.º 1
0
 public CifEditor(IInputStreamFactory inputStreamFactory, ICifRecordDefFactory recordDefFactory,
                  IScheduleMatcher scheduleMatcher)
 {
     _inputStreamFactory = inputStreamFactory ?? throw new ArgumentNullException(nameof(inputStreamFactory));
     _recordDefFactory   = recordDefFactory ?? throw new ArgumentNullException(nameof(recordDefFactory));
     _scheduleMatcher    = scheduleMatcher ?? throw new ArgumentNullException(nameof(scheduleMatcher));
 }
Ejemplo n.º 2
0
 // private readonly IMailListCache _mailList;
 public DMCLService(OnlineSalesContext context,
                    IHttpContextAccessor httpContext,
                    IScheduleMatcher matcher,
                    IAPIAuth apiAuth,
                    IMailerService mail,
                    ILogger <DMCLService> logger) : base(httpContext, context)
 {
     _matcher = matcher;
     _apiAuth = apiAuth;
     _logger  = logger;
     _mail    = mail;
 }
Ejemplo n.º 3
0
 public CifEditorTest()
 {
     _inputStreamFactory = Substitute.For <IInputStreamFactory>();
     _recordDefFactory   = Substitute.For <ICifRecordDefFactory>();
     _scheduleMatcher    = Substitute.For <IScheduleMatcher>();
 }