public SuggestionProvider(Func<string, IEnumerable> method) { if (method == null) { throw new ArgumentNullException("method"); } _method = method; }