View Source
Class PublishedElement
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class PublishedElement : IPublishedElement
Constructors
View Source
PublishedElement(IPublishedContentType, Guid, Nullable<Dictionary<String, Object>>, Boolean, PropertyCacheLevel, IPublishedSnapshotAccessor)
Declaration
public PublishedElement(IPublishedContentType contentType, Guid key, Dictionary<string, object>? values, bool previewing, PropertyCacheLevel referenceCacheLevel, IPublishedSnapshotAccessor publishedSnapshotAccessor)
Parameters
View Source
PublishedElement(IPublishedContentType, Guid, Dictionary<String, Object>, Boolean)
Declaration
public PublishedElement(IPublishedContentType contentType, Guid key, Dictionary<string, object> values, bool previewing)
Parameters
Type |
Name |
Description |
IPublishedContentType |
contentType |
|
Guid |
key |
|
Umbraco.Cms.Core.Dictionary<System.String, System.Object> |
values |
|
System.Boolean |
previewing |
|
Properties
View Source
ContentType
Declaration
public IPublishedContentType ContentType { get; }
Property Value
View Source
Key
Declaration
Property Value
View Source
Properties
Declaration
public IEnumerable<IPublishedProperty> Properties { get; }
Property Value
Methods
View Source
GetProperty(String)
Declaration
public IPublishedProperty GetProperty(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Returns