/// <summary> /// Loads the scheme options. /// </summary> public void LoadOptions(WebConfig webConfig) { Options = new SchemeOptions(webConfig.GetOptions("Scheme")) { RefreshRate = webConfig.DisplayOptions.RefreshRate }; }
private readonly ILog log; // the application log /// <summary> /// Initializes a new instance of the class. /// </summary> public PluginContext(ILog log) { this.log = log ?? throw new ArgumentNullException(nameof(log)); Options = new SchemeOptions(new OptionList()); CompManager = new CompManager(log); }