public static async Task <int> GetIndexOfExcludeAsync(this Taxon taxon, Taxon exclude) { Start(); int result = await Task.Run(() => taxon.GetIndexOfExclude(exclude)); Finish(); return(result); }