Class CmsObject
A single object with all its values, sorted by attribute, variant and language
Assembly: Noxum.Nova.Cms.Client.dll
Syntax
Properties
Declaration
[JsonPropertyName("meta")]
public CmsObjectMetadata Meta { get; set; }
Property Value
Values
The values, sorted by attribute, variant, language and sort key
Declaration
[JsonPropertyName("values")]
public List<CmsValue> Values { get; set; }
Property Value
Methods
GetValue(int, int, int)
Declaration
public CmsValue GetValue(int attribute, int variant, int language)
Parameters
| Type |
Name |
Description |
| int |
attribute |
|
| int |
variant |
|
| int |
language |
|
Returns
GetValue<T>(int, int, int)
Declaration
public T GetValue<T>(int attribute, int variant, int language)
Parameters
| Type |
Name |
Description |
| int |
attribute |
|
| int |
variant |
|
| int |
language |
|
Returns
Type Parameters
GetValues(int, int, int)
Get a list of scoped value
Declaration
public IEnumerable<CmsValue> GetValues(int attribute, int variant, int language)
Parameters
| Type |
Name |
Description |
| int |
attribute |
|
| int |
variant |
|
| int |
language |
|
Returns
GetValues<T>(int, int, int)
Get multiple scoped values
Declaration
public IEnumerable<T> GetValues<T>(int attribute, int variant, int language)
Parameters
| Type |
Name |
Description |
| int |
attribute |
|
| int |
variant |
|
| int |
language |
|
Returns
Type Parameters
SetValue(CmsValue)
Declaration
public void SetValue(CmsValue value)
Parameters
SetValue<T>(int, int, int, T)
Declaration
public void SetValue<T>(int attribute, int variant, int language, T val)
Parameters
| Type |
Name |
Description |
| int |
attribute |
|
| int |
variant |
|
| int |
language |
|
| T |
val |
|
Type Parameters
SetValues(int, int, int, IEnumerable<CmsValue>)
Set a list of scoped values
Declaration
public void SetValues(int attribute, int variant, int language, IEnumerable<CmsValue> values)
Parameters
SetValues<T>(int, int, int, IEnumerable<T>)
Set multiple scoped values
Declaration
public void SetValues<T>(int attribute, int variant, int language, IEnumerable<T> values)
Parameters
Type Parameters