View Source
Class BlockItemData
Represents a single block's data in raw form
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class BlockItemData
Constructors
View Source
BlockItemData()
Declaration
View Source
BlockItemData(Udi, Guid, String)
Declaration
public BlockItemData(Udi udi, Guid contentTypeKey, string contentTypeAlias)
Parameters
Type |
Name |
Description |
Udi |
udi |
|
Guid |
contentTypeKey |
|
System.String |
contentTypeAlias |
|
Properties
View Source
ContentTypeAlias
not serialized, manually set and used during internally
Declaration
[JsonIgnore]
public string ContentTypeAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ContentTypeKey
Declaration
public Guid ContentTypeKey { get; set; }
Property Value
View Source
Key
Declaration
[JsonIgnore]
public Guid Key { get; }
Property Value
View Source
PropertyValues
Used during deserialization to convert the raw property data into data with a property type context
Declaration
[JsonIgnore]
public IDictionary<string, BlockItemData.BlockPropertyValue> PropertyValues { get; set; }
Property Value
View Source
RawPropertyValues
The remaining properties will be serialized to a dictionary
Declaration
[JsonExtensionData]
public Dictionary<string, object> RawPropertyValues { get; set; }
Property Value
Type |
Description |
Umbraco.Cms.Core.Dictionary<System.String, System.Object> |
|
View Source
Udi
Declaration
public Udi Udi { get; set; }
Property Value