public virtual void SaveServiceState(SettingsStateMap stateMap) { var settings = new Settings { BaseRevealSpeed = BaseRevealSpeed, BaseAutoDelay = BaseAutoDelay }; stateMap.SetState(settings); }
public Task SaveServiceStateAsync(SettingsStateMap stateMap) { var settings = new Settings { BaseRevealSpeed = BaseRevealSpeed }; stateMap.SetState(settings); return(Task.CompletedTask); }