public OrderPlacedEventConsumer(VerizonSettings verizonSettings, IPluginFinder pluginFinder, IOrderService orderService, ICommonServices services) { _verizonSettings = verizonSettings; _pluginFinder = pluginFinder; _orderService = orderService; _services = services; }
public VerizonSmsProvider(VerizonSettings verizonSettings, IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService, ILogger logger, ICommonServices services) { _verizonSettings = verizonSettings; _queuedEmailService = queuedEmailService; _emailAccountService = emailAccountService; _logger = logger; _services = services; }
/// <summary> /// Install plugin /// </summary> public override void Install() { var settings = new VerizonSettings { Email = "*****@*****.**", }; _services.Settings.SaveSetting(settings); _services.Localization.ImportPluginResourcesFromXml(this.PluginDescriptor); base.Install(); }