SaaS CMS has officially launched! Learn more now.

Class ProjectContentMapFactory

Factory responsible to create a mapping dictionary containing all content items included in a set of projects.

Inheritance
System.Object
ProjectContentMapFactory
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class ProjectContentMapFactory : Object

Constructors

ProjectContentMapFactory(ProjectRepository, ContextCache)

Declaration
public ProjectContentMapFactory(ProjectRepository projectRepository, ContextCache cache)
Parameters
Type Name Description
ProjectRepository projectRepository
ContextCache cache

Methods

Create(IEnumerable<Int32>, CultureInfo)

Creates a mapping dictionary for the the specified projects.

Declaration
public virtual ProjectContentMap Create(IEnumerable<int> projects, CultureInfo language)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int32> projects

The projects.

System.Globalization.CultureInfo language

The language.

Returns
Type Description
ProjectContentMap

Extension Methods