public PresetToggleAction(ILogger <PresetToggleAction> logger, IFlightConnector flightConnector, IImageLogic imageLogic) { this.logger = logger; this.flightConnector = flightConnector; this.imageLogic = imageLogic; timer = new Timer { Interval = 1000 }; timer.Elapsed += Timer_Elapsed; embedLinkLogic = new EmbedLinkLogic(this); }
public GenericToggleAction( ILogger <GenericToggleAction> logger, IFlightConnector flightConnector, IImageLogic imageLogic, IEvaluator evaluator, IEventRegistrar eventRegistrar, IEventDispatcher eventDispatcher, EnumConverter enumConverter) { this.logger = logger; this.flightConnector = flightConnector; this.imageLogic = imageLogic; this.evaluator = evaluator; this.eventRegistrar = eventRegistrar; this.eventDispatcher = eventDispatcher; this.enumConverter = enumConverter; this.embedLinkLogic = new EmbedLinkLogic(this); }