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.3Syntax
[ServiceConfiguration]
public class ProjectContentMapFactory : Object
Constructors
ProjectContentMapFactory(ProjectRepository, ContextCache)
Declaration
public ProjectContentMapFactory(ProjectRepository projectRepository, ContextCache cache)
Parameters
Type | Name | Description |
---|---|---|
Project |
projectRepository | |
Context |
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. |
projects | The projects. |
System. |
language | The language. |
Returns
Type | Description |
---|---|
Project |