DefaultPropertyValueResolver Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
DefaultPropertyValueResolver(IDecorator<object>, PropertyInfo)
Resolves the default value of a property from the enclosed object of the specified decorator.
public static object DefaultPropertyValueResolver(this IDecorator<object> decorator, PropertyInfo pi)
Parameters
decoratorIDecorator<object>The IDecorator<T> to extend.
piPropertyInfoThe PropertyInfo of the property to resolve the value for.
Returns
- object
The value of the property if the enclosed object is not null; otherwise,
null.
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.