Assembly: VM.Models.Pre.dll This class serve cache for Link/Child type properties of given object or type
Inheritance
object ← LinkPropertyItemCacheExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
GetLinkProperties(Type, LinkPropertyType)
Get all properties which have LinkAttribute custome attribute for given Type.Parameters
type Type
The Type whiche want to find properties.
propertyType LinkPropertyType
The LinkPropertyType to search.
Returns
IEnumerable<PropertyInfo> Found IEnumerable`1 of PropertyInfo.GetLinkProperties(object, LinkPropertyType)
Get all properties which have LinkAttribute custome attribute for given object.Parameters
obj object
The object whiche want to find properties.
propertyType LinkPropertyType
The LinkPropertyType to search.
Returns
IEnumerable<PropertyInfo> Found IEnumerable`1 of PropertyInfo.GetLinkPropertiesAndValues(object, LinkPropertyType)
Get all properties and their values which have LinkAttribute custome attribute for given object.Parameters
obj object
The object whiche want to find properties.
propertyType LinkPropertyType
The LinkPropertyType to search.
Returns
IEnumerable<(PropertyInfo property, object value)> Found IEnumerable`1 of PropertyInfo and its value.GetLinkedObjects<T>(object, LinkPropertyType)
Get all propertiy values which have LinkAttribute custome attribute for given object.Parameters
obj object
The object whiche want to find properties.
propertyType LinkPropertyType
The LinkPropertyType to search.
Returns
IEnumerable<T> Found IEnumerable`1 of property values.Type Parameters
T
The type of property value