Table of Contents

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

ContentType_RenderModel

CreationTime

public DateTime CreationTime { get; init; }

Property Value

DateTime

CreatorUser

public AuditableUser_RenderModel? CreatorUser { get; init; }

Property Value

AuditableUser_RenderModel

Id

public string Id { get; init; }

Property Value

string

LastModificationTime

public DateTime? LastModificationTime { get; init; }

Property Value

DateTime?

LastModifierUser

public AuditableUser_RenderModel? LastModifierUser { get; init; }

Property Value

AuditableUser_RenderModel

PrimaryField

public string PrimaryField { get; init; }

Property Value

string

PublishedContent

public dynamic PublishedContent { get; init; }

Property Value

dynamic

RoutePath

public string RoutePath { get; init; }

Property Value

string

Template

public string? Template { get; init; }

Property Value

string

Methods

GetDeveloperNames()

public IEnumerable<string> GetDeveloperNames()

Returns

IEnumerable<string>

GetProjection()

public static Expression<Func<ContentItemDto, string, ContentItem_RenderModel>> GetProjection()

Returns

Expression<Func<ContentItemDto, string, ContentItem_RenderModel>>

GetProjection(ContentItemDto, string)

public static ContentItem_RenderModel GetProjection(ContentItemDto entity, string templateDeveloperName)

Parameters

entity ContentItemDto
templateDeveloperName string

Returns

ContentItem_RenderModel

GetTemplateVariables()

public IEnumerable<KeyValuePair<string, string>> GetTemplateVariables()

Returns

IEnumerable<KeyValuePair<string, string>>

GetTemplateVariablesAsForEachLiquidSyntax()

public string GetTemplateVariablesAsForEachLiquidSyntax()

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.