Method GetPropertyTypeOrDefault
GetPropertyTypeOrDefault(object, string)
Declaration
public static Type GetPropertyTypeOrDefault(this object instance, string propertyPath)
Parameters
| Type | Name | Description |
|---|---|---|
| object | instance | |
| string | propertyPath |
Returns
| Type | Description |
|---|---|
| Type |
GetPropertyTypeOrDefault(Type, string)
Declaration
public static Type GetPropertyTypeOrDefault(this Type type, string propertyPath)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | |
| string | propertyPath |
Returns
| Type | Description |
|---|---|
| Type |