예제 #1
0
 public static ISearchProvider Create(this ISearchProvider ignore, IServiceCollection container)
 {
     return(ignore.Create(container.BuildServiceProvider()));
 }
예제 #2
0
 public static ISearchProvider Create(this ISearchProvider ignore, IEnumerable <Template> templates, IEnumerable <Category> categories)
 {
     return(ignore.Create(templates, categories, Mock.Of <ILinkProvider>()));
 }
예제 #3
0
 public static ISearchProvider Create(this ISearchProvider ignore, IEnumerable <Template> templates, SiteSettings siteSettings)
 {
     return(ignore.Create(templates, null, Mock.Of <ILinkProvider>()));
 }
예제 #4
0
 public static ISearchProvider Create(this ISearchProvider ignore)
 {
     return(ignore.Create(Mock.Of <IEnumerable <Template> >(),
                          null, Mock.Of <ILinkProvider>()));
 }