Esempio n. 1
0
 /// <summary>
 /// Loads the plugin options.
 /// </summary>
 public void LoadOptions(WebConfig webConfig)
 {
     Options = new PluginOptions(webConfig.GetOptions("Main"))
     {
         RefreshRate = webConfig.DisplayOptions.RefreshRate
     };
 }
Esempio n. 2
0
 /// <summary>
 /// Loads the scheme options.
 /// </summary>
 public void LoadOptions(WebConfig webConfig)
 {
     Options = new SchemeOptions(webConfig.GetOptions("Scheme"))
     {
         RefreshRate = webConfig.DisplayOptions.RefreshRate
     };
 }