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