Method GetValue
GetValue(ILocationBinding, Object, Arguments)
Gets the value of an indexer (property with arguments).
Declaration
public static object GetValue(this ILocationBinding locationBinding, object instance, Arguments index)
Parameters
Type | Name | Description |
---|---|---|
ILocationBinding | locationBinding | The binding for the indexer. |
Object | instance | The instance for which the indexer is evaluated, or |
Arguments | index | The arguments of the indexer. |
Returns
Type | Description |
---|---|
Object | The indexer value. |
GetValue<T>(ILocationBinding<T>, Object, Arguments)
Gets the value of an indexer (property with arguments).
Declaration
public static T GetValue<T>(this ILocationBinding<T> locationBinding, object instance, Arguments index)
Parameters
Type | Name | Description |
---|---|---|
ILocationBinding<T> | locationBinding | The binding for the indexer. |
Object | instance | The instance for which the indexer is evaluated, or |
Arguments | index | The arguments of the indexer. |
Returns
Type | Description |
---|---|
T | The indexer value. |
Type Parameters
Name | Description |
---|---|
T |
GetValue(ILocationBinding, Object)
Gets the value of a field or property.
Declaration
public static object GetValue(this ILocationBinding locationBinding, object instance)
Parameters
Type | Name | Description |
---|---|---|
ILocationBinding | locationBinding | The binding for the field or property. |
Object | instance | The instance for which the field or property is evaluated, or |
Returns
Type | Description |
---|---|
Object | The field or property value. |
GetValue<T>(ILocationBinding<T>, Object)
Gets the value of a field or property.
Declaration
public static T GetValue<T>(this ILocationBinding<T> locationBinding, object instance)
Parameters
Type | Name | Description |
---|---|---|
ILocationBinding<T> | locationBinding | The binding for the field or property. |
Object | instance | The instance for which the field or property is evaluated, or |
Returns
Type | Description |
---|---|
T | The field or property value. |
Type Parameters
Name | Description |
---|---|
T |