Beispiel #1
0
        /// <summary>
        /// Load the plugin on-demand via the Load() or LoadAll() method
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public async Task <string> Get([FromQuery] string input)
        {
            var plugin = await _pluginLoader.Load();

            var response = plugin.SayHello(input);
            await _pluginLoader.Unload();

            return(response);
        }