private IEnumerable <string> GetStepDefinitions(string keyword) { var names = new List <string>(); foreach (var a in _assemblies) { foreach (var t in a.GetTypes()) { foreach (var m in t.GetMethods()) { if (NameParser.IsStepDefinition(m)) { string name = NameParser.Parse(m); if (name.StartsWith(keyword, StringComparison.OrdinalIgnoreCase)) { names.Add(name); } } } } } names.Sort(); return(names); }