Class PropertyInfoHelper
Provides helpers to cache and find property infos
Namespace: Sartorius.SAF.Presentation.Markup
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Obsolete("Try using BindingValueProvider for property path binding.")]
public static class PropertyInfoHelper
Remarks
This class is obsolete. Use the BindingValueProvider.
Methods
View SourceCreatePropertyInfoCache(object, List<PropertyInfos>, string)
Creates the property information cache.
Declaration
public static object CreatePropertyInfoCache(object property, List<PropertyInfos> propertyCache, string propertyPath)
Parameters
| Type | Name | Description |
|---|---|---|
| object | property | The property. |
| List<PropertyInfos> | propertyCache | The property cache. |
| string | propertyPath | The property path. |
Returns
| Type | Description |
|---|---|
| object |
Exceptions
| Type | Condition |
|---|---|
| PropertyNotFoundException |
ResolvePropertyList(IEnumerable<PropertyInfos>, object)
Resolves the property list.
Declaration
public static object ResolvePropertyList(IEnumerable<PropertyInfos> propertyInfos, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<PropertyInfos> | propertyInfos | The property infos. |
| object | value | The value. |
Returns
| Type | Description |
|---|---|
| object |