|
Name |
Description |
|
ApplyDefaults(IEnumerable<PropertyInfo> , 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 Action<T>.
|
|
ApplyDefaults<TExpressionScope> (IEnumerable<PropertyInfo> , TypeRegistry)
|
Generates a delegate that will update an instance of type T accepting
a contextual IValueExpressionScope<T> 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.
|