Class ScopedObject
An object reduced to a certain scope of language and variants
Inheritance
System.Object
ScopedObject
Assembly: Noxum.Nova.Delivery.Client.dll
Syntax
public class ScopedObject : object
Properties
DisplayIcon
The ID of the display icon
Declaration
public int DisplayIcon { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
DisplayName
The display name for the UI language
Declaration
public string DisplayName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
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
public System.Collections.Generic.IDictionary<string, object> Props { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
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
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<int>> Reverse { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IList<System.Int32>> |
|
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
public System.Collections.Generic.IDictionary<string, object> SortReverse { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
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 |
System.String |
apiIdentifier |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
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 |
System.String |
apiIdentifier |
|
Returns
Type |
Description |
System.Int32[] |
|
GetValue<T>(String)
Try to get a scalar value by apiIdentifier
Declaration
public T GetValue<T>(string apiIdentifier)
Parameters
Type |
Name |
Description |
System.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 |
System.String |
apiIdentifier |
|
Returns
Type Parameters