using System.Collections.Generic; using System.Threading.Tasks; namespace Oqtane.Services { /// /// Service to retrieve and update system information. /// public interface ISystemService { /// /// returns a key-value directory with the current system configuration information /// /// Task> GetSystemInfoAsync(); /// /// returns a key-value directory with the current system information - "environment" or "configuration" /// /// Task> GetSystemInfoAsync(string type); /// /// returns a config value /// /// Task GetSystemInfoAsync(string settingKey, object defaultValue); /// /// Updates system information /// /// /// Task UpdateSystemInfoAsync(Dictionary settings); } }