GetAssetObject
GetAssetObject(string, Object)
Description
Get the value of the AssetObject type.
Parameters
Parameter Name | Description |
---|---|
name | Name. |
defaultValue | Default value. It is returned when there is no parameter. |
Returns
The true when there parameters of the specified name.
GetAssetObject(int, Object)
Description
Get the value of the AssetObject type.
Parameters
Parameter Name | Description |
---|---|
id | ID. |
defaultValue | Default value. It is returned when there is no parameter. |
Returns
The true when there parameters of the specified name.
GetAssetObject<TAssetObject>(string, TAssetObject)
public TAssetObject GetAssetObject<TAssetObject>(string name, TAssetObject defaultValue) ;
Description
Get the value of the AssetObject type.
Type Parameters
Type Parameter Name | Description | Type Constraints |
---|---|---|
TAssetObject | Type of AssetObject to get |
Parameters
Parameter Name | Description |
---|---|
name | Name. |
defaultValue | Default value. It is returned when there is no parameter. |
Returns
The value of the parameter. If there is no parameter, it returns defaultValue.
GetAssetObject<TAssetObject>(int, TAssetObject)
public TAssetObject GetAssetObject<TAssetObject>(int id, TAssetObject defaultValue) ;
Description
Get the value of the AssetObject type.
Type Parameters
Type Parameter Name | Description | Type Constraints |
---|---|---|
TAssetObject | Type of AssetObject to get |
Parameters
Parameter Name | Description |
---|---|
id | ID. |
defaultValue | Default value. It is returned when there is no parameter. |
Returns
The value of the parameter. If there is no parameter, it returns defaultValue.