Table of Contents

Class TrinityResponse

Namespace
AbanoubNassem.Trinity.RequestHelpers
Assembly
AbanoubNassem.Trinity.dll

Represents a response class for the Trinity application.

public class TrinityResponse
Inheritance
TrinityResponse
Inherited Members

Properties

Configs

Gets or sets the Trinity configurations object.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public TrinityConfigurations? Configs { get; set; }

Property Value

TrinityConfigurations

Data

Gets or sets the data object.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public object? Data { get; set; }

Property Value

object

Errors

Gets or sets the collection of error messages.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public BadRequestObjectResult? Errors { get; set; }

Property Value

BadRequestObjectResult

FallbackLocale

Gets or sets the fallback locale strings/>

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, string>? FallbackLocale { get; set; }

Property Value

Dictionary<string, string>

IsRtl

Gets or sets a value indicating whether the text is right-to-left (RTL).

public bool IsRtl { get; set; }

Property Value

bool

Locale

Gets or sets the current locale strings GetAllStrings(string?)

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, string>? Locale { get; set; }

Property Value

Dictionary<string, string>

Notifications

Gets or sets the collection of notifications.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<object>? Notifications { get; set; }

Property Value

List<object>

Page

Gets or sets the current page object.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public object? Page { get; set; }

Property Value

object

Pages

Gets or sets the collection of pages.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, object>? Pages { get; set; }

Property Value

Dictionary<string, object>

Resource

Gets or sets the current resource object.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public object? Resource { get; set; }

Property Value

object

Resources

Gets or sets the collection of resources.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IEnumerable<object>? Resources { get; set; }

Property Value

IEnumerable<object>

User

Gets or sets the current logged-in user.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public object? User { get; set; }

Property Value

object