Class BuildingContext
Contains the data used to build up a IContentData instance.
Inheritance
Inherited Members
Namespace: EPiServer.Construction
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class BuildingContextConstructors
BuildingContext(ContentType)
Initializes a new instance of the BuildingContext class.
Declaration
public BuildingContext(ContentType contentType)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentType | contentType | Type of the content. | 
Properties
ContentLink
Gets or sets the reference for the content instance.
Declaration
public ContentReference ContentLink { get; set; }Property Value
| Type | Description | 
|---|---|
| ContentReference | The content link. | 
ContentType
Gets or sets the ContentType to use.
Declaration
public ContentType ContentType { get; }Property Value
| Type | Description | 
|---|---|
| ContentType | The ContentType to use. | 
LanguageSelector
Gets or sets the language selector to use to set the language of the content.
Declaration
public ILanguageSelector LanguageSelector { get; set; }Property Value
| Type | Description | 
|---|---|
| ILanguageSelector | The language selector. | 
Parent
Gets or sets the reference for the Parent of the content.
Declaration
public IContent Parent { get; set; }Property Value
| Type | Description | 
|---|---|
| IContent | The parent reference. | 
SetPropertyValues
Gets or sets a value indicating whether the builder should set property values, e.g. default and inherited values.
Declaration
public bool SetPropertyValues { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
Remarks
The default value is true which means default and inherited values will be set.
