ValueExpressionParserTApplyDefaults Method

Overload List

ApplyDefaults(IEnumerablePropertyInfo, TypeRegistry) Generates a delegate that will update an instance of type T applying any specified DefaultValueAttribute or DefaultValueExpressionAttribute instances that are declared on the type T properties. Target T instance is accepted as the parameter to the returned delegate ActionT.
ApplyDefaultsTExpressionScope(IEnumerablePropertyInfo, TypeRegistry) Generates a delegate that will update an instance of type T accepting a contextual IValueExpressionScopeT object parameter applying any specified DefaultValueAttribute or DefaultValueExpressionAttribute instances that are declared on the type T properties. Target T instance needs to be assigned to the Instance property prior to call.

See Also