public EpiServerDependencies(IEpiServerDependenciesResolver epiServerDependenciesResolver)
 {
     _contentRepository = new Lazy<IContentRepository>(epiServerDependenciesResolver.GetContentRepository);
     _linkResolver = new Lazy<ILinkResolver>(epiServerDependenciesResolver.GetLinkResolver);
     _contextResolver = new Lazy<IContextResolver>(epiServerDependenciesResolver.GetContextResolver);
 }
예제 #2
0
 public EpiServerDependencies(IEpiServerDependenciesResolver epiServerDependenciesResolver)
 {
     _contentRepository = new Lazy <IContentRepository>(epiServerDependenciesResolver.GetContentRepository);
     _linkResolver      = new Lazy <ILinkResolver>(epiServerDependenciesResolver.GetLinkResolver);
     _contextResolver   = new Lazy <IContextResolver>(epiServerDependenciesResolver.GetContextResolver);
 }
예제 #3
0
 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);
 }