public TimelapseTimer(TimelapseSettings settings, Func <Task> initAction, Func <Task> action) { _initAction = initAction; _action = action; Update(settings); }
public void OnGet() { Settings = _timelapseController.Settings; }
public void Update(TimelapseSettings settings) { RunEvery = settings.Every; RunFrom = settings.From; RunTill = settings.Till; }