Пример #1
0
 public EmailFormatterLiquid(IImageFormatter imageFormatter, IEmailUrl emailUrl, IMjmlRenderer mjmlRenderer)
     : base(mjmlRenderer)
 {
     this.imageFormatter = imageFormatter;
     this.emailUrl       = emailUrl;
 }
Пример #2
0
 protected override IEmailFormatter CreateFormatter(IEmailUrl url, IImageFormatter imageFormatter)
 {
     return(new EmailFormatterLiquid(imageFormatter, url, new MjmlRenderer()));
 }