Exemple #1
0
 /// <summary>
 /// Implements the plugin business logic.
 /// </summary>
 /// <param name="worker">PluginWorker with the plugin instance properties.</param>
 public abstract void Execute(PluginWorker worker);
Exemple #2
0
        /// <summary>
        /// Initialises the PluginWorker helper.
        /// </summary>
        /// <param name="serviceProvider">The implementation of IServiceProvider.</param>
        public void Execute(IServiceProvider serviceProvider)
        {
            var worker = new PluginWorker(serviceProvider);

            Execute(worker);
        }