public EpiServerDependencies(IEpiServerDependenciesResolver epiServerDependenciesResolver) { _contentRepository = new Lazy<IContentRepository>(epiServerDependenciesResolver.GetContentRepository); _linkResolver = new Lazy<ILinkResolver>(epiServerDependenciesResolver.GetLinkResolver); _contextResolver = new Lazy<IContextResolver>(epiServerDependenciesResolver.GetContextResolver); }
public EpiServerDependencies(IEpiServerDependenciesResolver epiServerDependenciesResolver) { _contentRepository = new Lazy <IContentRepository>(epiServerDependenciesResolver.GetContentRepository); _linkResolver = new Lazy <ILinkResolver>(epiServerDependenciesResolver.GetLinkResolver); _contextResolver = new Lazy <IContextResolver>(epiServerDependenciesResolver.GetContextResolver); }
public LinkResolver(IEpiServerDependenciesResolver epiServerDependenciesResolver) { _urlResolver = epiServerDependenciesResolver.GetUrlResolver(); _lazyContentRepository = new Lazy <IContentRepository>(epiServerDependenciesResolver.GetContentRepository); }
public LinkResolver(IEpiServerDependenciesResolver epiServerDependenciesResolver) { _urlResolver = epiServerDependenciesResolver.GetUrlResolver(); _lazyContentRepository = new Lazy<IContentRepository>(epiServerDependenciesResolver.GetContentRepository); }