Class ContentItem_RenderModel
- Namespace
- Raytha.Application.ContentItems
- Assembly
- Raytha.Application.dll
public record ContentItem_RenderModel : IInsertTemplateVariable, IEquatable<ContentItem_RenderModel>
- Inheritance
-
ContentItem_RenderModel
- Implements
- Inherited Members
Properties
ContentType
public ContentType_RenderModel? ContentType { get; init; }
Property Value
CreationTime
public DateTime CreationTime { get; init; }
Property Value
CreatorUser
public AuditableUser_RenderModel? CreatorUser { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
LastModificationTime
public DateTime? LastModificationTime { get; init; }
Property Value
LastModifierUser
public AuditableUser_RenderModel? LastModifierUser { get; init; }
Property Value
PrimaryField
public string PrimaryField { get; init; }
Property Value
PublishedContent
public dynamic PublishedContent { get; init; }
Property Value
- dynamic
RoutePath
public string RoutePath { get; init; }
Property Value
Template
public string? Template { get; init; }
Property Value
Methods
GetDeveloperNames()
public IEnumerable<string> GetDeveloperNames()
Returns
GetProjection()
public static Expression<Func<ContentItemDto, string, ContentItem_RenderModel>> GetProjection()
Returns
GetProjection(ContentItemDto, string)
public static ContentItem_RenderModel GetProjection(ContentItemDto entity, string templateDeveloperName)
Parameters
entity
ContentItemDtotemplateDeveloperName
string
Returns
GetTemplateVariables()
public IEnumerable<KeyValuePair<string, string>> GetTemplateVariables()
Returns
GetTemplateVariablesAsForEachLiquidSyntax()
public string GetTemplateVariablesAsForEachLiquidSyntax()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.