Class ScopedObject
An object reduced to a certain scope of language and variants
Assembly: Noxum.Nova.Delivery.Client.dll
Syntax
public class ScopedObject
Properties
DisplayIcon
The ID of the display icon
Declaration
[JsonPropertyName("displayIcon")]
public int DisplayIcon { get; set; }
Property Value
DisplayName
The display name for the UI language
Declaration
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }
Property Value
Declaration
[JsonPropertyName("meta")]
public ObjectMetadata Meta { get; set; }
Property Value
Props
The dictionary of properties. Use API identifiers as keys. This dictionary contains values for the desired scope only.
Declaration
[JsonPropertyName("props")]
public IDictionary<string, object> Props { get; set; }
Property Value
Reverse
The dictionary of reverse relations. Use API identifiers as keys.
The values are list of object IDs of objects that have the current object as their value for the desired attribute.
Declaration
[JsonPropertyName("reverse")]
public IDictionary<string, IList<int>> Reverse { get; set; }
Property Value
SortReverse
This dictionary contains an entry for each API identifier in Props that belongs to an attribute of type ObjRef that supports reverse sorting.
Values are either scalar integers or arrays of integers (if the attribute supports multiple values).
Declaration
[JsonPropertyName("sortReverse")]
public IDictionary<string, object> SortReverse { get; set; }
Property Value
Methods
GetReverseSortKey(string)
Try to get the reverse sort key of a scalar value by apiIdentifier
Declaration
public int? GetReverseSortKey(string apiIdentifier)
Parameters
| Type |
Name |
Description |
| string |
apiIdentifier |
|
Returns
GetReverseSortKeys(string)
Try to get the reverse sort keys of a multiple value by apiIdentifier
Declaration
public int[] GetReverseSortKeys(string apiIdentifier)
Parameters
| Type |
Name |
Description |
| string |
apiIdentifier |
|
Returns
GetValue<T>(string)
Try to get a scalar value by apiIdentifier
Declaration
public T GetValue<T>(string apiIdentifier)
Parameters
| Type |
Name |
Description |
| string |
apiIdentifier |
|
Returns
Type Parameters
GetValues<T>(string)
Try to get a multiple value by apiIdentifier
Declaration
public T[] GetValues<T>(string apiIdentifier) where T : class
Parameters
| Type |
Name |
Description |
| string |
apiIdentifier |
|
Returns
Type Parameters