public static ISearchProvider Create(this ISearchProvider ignore, IServiceCollection container) { return(ignore.Create(container.BuildServiceProvider())); }
public static ISearchProvider Create(this ISearchProvider ignore, IEnumerable <Template> templates, IEnumerable <Category> categories) { return(ignore.Create(templates, categories, Mock.Of <ILinkProvider>())); }
public static ISearchProvider Create(this ISearchProvider ignore, IEnumerable <Template> templates, SiteSettings siteSettings) { return(ignore.Create(templates, null, Mock.Of <ILinkProvider>())); }
public static ISearchProvider Create(this ISearchProvider ignore) { return(ignore.Create(Mock.Of <IEnumerable <Template> >(), null, Mock.Of <ILinkProvider>())); }