Exemple #1
0
 /// <summary>
 /// Loads the plugin options.
 /// </summary>
 public void LoadOptions(WebConfig webConfig)
 {
     Options = new PluginOptions(webConfig.GetOptions("Main"))
     {
         RefreshRate = webConfig.DisplayOptions.RefreshRate
     };
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 public PluginContext()
 {
     Options = new PluginOptions(new OptionList());
 }