Class TaggedEntity
Represents a tagged entity.
Inheritance
System.Object
Namespace: Umbraco.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class TaggedEntity
Remarks
Note that it is the properties of an entity (like Content, Media, Members, etc.) that are tagged, which is why this class is composed of a list of tagged properties and the identifier the actual entity.
Constructors
View SourceTaggedEntity(Int32, IEnumerable<TaggedProperty>)
Initializes a new instance of the TaggedEntity class.
Declaration
public TaggedEntity(int entityId, IEnumerable<TaggedProperty> taggedProperties)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | entityId | |
System.Collections.Generic.IEnumerable<TaggedProperty> | taggedProperties |
Properties
View SourceEntityId
Gets the identifier of the entity.
Declaration
public int EntityId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TaggedProperties
Gets the tagged properties.
Declaration
public IEnumerable<TaggedProperty> TaggedProperties { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TaggedProperty> |