Interface ICompositeObject
Represents value which consists of multiple simple values.
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
public interface ICompositeObject
Methods
TryGetValue(String, Type, out Object)
Returns inner value by key.
Declaration
bool TryGetValue(string key, Type valueType, out object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.Type | valueType | Type of the value. |
System.Object | value | Result value. |
Returns
Type | Description |
---|---|
System.Boolean |
TryGetValue<TValueType>(String, out TValueType)
Returns inner value by key.
Declaration
bool TryGetValue<TValueType>(string key, out TValueType value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
TValueType | value | Result value. |
Returns
Type | Description |
---|---|
System.Boolean |
Type Parameters
Name | Description |
---|---|
TValueType | The type of the value. |