Class BlockItemData
Represents a single block's data in raw form
Inheritance
System.Object
Namespace: Umbraco.Core.Models.Blocks
Assembly: Umbraco.Core.dll
Syntax
public class BlockItemData
Properties
View SourceContentTypeAlias
not serialized, manually set and used during internally
Declaration
public string ContentTypeAlias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentTypeKey
Declaration
public Guid ContentTypeKey { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Key
Declaration
public Guid Key { get; }
Property Value
Type | Description |
---|---|
System.Guid |
PropertyValues
Used during deserialization to convert the raw property data into data with a property type context
Declaration
public IDictionary<string, BlockItemData.BlockPropertyValue> PropertyValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, BlockItemData.BlockPropertyValue> |
RawPropertyValues
The remaining properties will be serialized to a dictionary
Declaration
public Dictionary<string, object> RawPropertyValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
Remarks
The JsonExtensionDataAttribute is used to put the non-typed properties into a bucket http://www.newtonsoft.com/json/help/html/DeserializeExtensionData.htm NestedContent serializes to string, int, whatever eg "stringValue":"Some String","numericValue":125,"otherNumeric":null
Udi
Declaration
public Udi Udi { get; set; }
Property Value
Type | Description |
---|---|
Udi |