Class PropertyInfoHelper
Provides helpers to cache and find property infos
Inheritance
System.Object
PropertyInfoHelper
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.Object | property | The property. |
System.Collections.Generic.List<PropertyInfos> | propertyCache | The property cache. |
System.String | propertyPath | The property path. |
Returns
Type | Description |
---|---|
System.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 |
---|---|---|
System.Collections.Generic.IEnumerable<PropertyInfos> | propertyInfos | The property infos. |
System.Object | value | The value. |
Returns
Type | Description |
---|---|
System.Object |