Class ContentItemListResult_RenderModel
- Namespace
- Raytha.Application.ContentItems
- Assembly
- Raytha.Application.dll
public record ContentItemListResult_RenderModel : IInsertTemplateVariable, IEquatable<ContentItemListResult_RenderModel>
- Inheritance
-
ContentItemListResult_RenderModel
- Implements
-
- Inherited Members
-
Properties
Description
public string Description { get; init; }
Property Value
- string
DeveloperName
public string DeveloperName { get; init; }
Property Value
- string
Filter
public string Filter { get; init; }
Property Value
- string
FirstVisiblePageNumber
public int FirstVisiblePageNumber { get; }
Property Value
- int
Items
public IEnumerable<ContentItem_RenderModel> Items { get; init; }
Property Value
- IEnumerable<ContentItem_RenderModel>
Label
public string Label { get; init; }
Property Value
- string
LastVisiblePageNumber
public int LastVisiblePageNumber { get; }
Property Value
- int
NextDisabledCss
public bool NextDisabledCss { get; }
Property Value
- bool
OrderBy
public string OrderBy { get; init; }
Property Value
- string
PageNumber
public int PageNumber { get; init; }
Property Value
- int
PageSize
public int PageSize { get; init; }
Property Value
- int
PreviousDisabledCss
public bool PreviousDisabledCss { get; }
Property Value
- bool
RoutePath
public string RoutePath { get; init; }
Property Value
- string
Search
public string Search { get; init; }
Property Value
- string
TotalCount
public int TotalCount { get; init; }
Property Value
- int
TotalPages
public int TotalPages { get; }
Property Value
- int
Methods
GetDeveloperNames()
public IEnumerable<string> GetDeveloperNames()
Returns
- IEnumerable<string>
GetProjection(ListResultDto<ContentItemDto>, IDictionary<ShortGuid, string>, ViewDto, string, string, string, int, int)
public static ContentItemListResult_RenderModel GetProjection(ListResultDto<ContentItemDto> entity, IDictionary<ShortGuid, string> webTemplateDeveloperNamesByContentItemId, ViewDto view, string search = "", string filter = "", string orderBy = "", int pageSize = 50, int pageNumber = 1)
Parameters
entity
ListResultDto<ContentItemDto>
webTemplateDeveloperNamesByContentItemId
IDictionary<ShortGuid, string>
view
ViewDto
search
string
filter
string
orderBy
string
pageSize
int
pageNumber
int
Returns
- ContentItemListResult_RenderModel
GetTemplateVariables()
public IEnumerable<KeyValuePair<string, string>> GetTemplateVariables()
Returns
- IEnumerable<KeyValuePair<string, string>>
GetTemplateVariablesAsForEachLiquidSyntax()
public string GetTemplateVariablesAsForEachLiquidSyntax()
Returns
- string