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); }
protected override async void Run() { await MEFCatalog.AnalyzeCatalog(); }