public LinkResolver(IUrlResolverFactory urlResolverFactory, IContentRepositoryFactory contentRepositoryFactory) { _lazyUrlResolver = new Lazy <UrlResolver>(urlResolverFactory.GetUrlResolver); _lazyContentRepository = new Lazy <IContentRepository>(contentRepositoryFactory.GetContentRepository); }
public LinkResolver(IUrlResolverFactory urlResolverFactory, IContentRepositoryFactory contentRepositoryFactory) { _lazyUrlResolver = new Lazy<UrlResolver>(urlResolverFactory.GetUrlResolver); _lazyContentRepository = new Lazy<IContentRepository>(contentRepositoryFactory.GetContentRepository); }