Example #1
0
        public async Task <int> Run(string[] arguments)
        {
            if (arguments.Length == 0)
            {
                Console.WriteLine("Usage: mdtool mef-graph [addin-ids]");
                return(1);
            }

            foreach (var arg in arguments)
            {
                Mono.Addins.AddinManager.LoadAddin(new Mono.Addins.ConsoleProgressStatus(false), arg);
            }

            await MEFCatalog.AnalyzeCatalog();

            return(0);
        }
Example #2
0
 protected override async void Run()
 {
     await MEFCatalog.AnalyzeCatalog();
 }