コード例 #1
0
        public ActionResult Get()
        {
            //var plugins = PluginFinder.EnablePlugins<BasePlugin>().ToList();
            var plugins2 = _pluginFinder.EnablePlugins <ITestPlugin>().ToList();

            foreach (var item in plugins2)
            {
                string words = item.Say();
                Console.WriteLine(words);
            }

            return(Ok(""));
        }