Note
This function will assign evaluated expression values to properties in an existing model.
public static Action<TExpressionScope> ApplyDefaults<TExpressionScope>(
IEnumerable<PropertyInfo>? properties = null,
TypeRegistry? typeRegistry = null
)
where TExpressionScope : Object, IValueExpressionScope<T>
Public Shared Function ApplyDefaults(Of TExpressionScope As {Object, IValueExpressionScope(Of T)}) (
Optional properties As IEnumerable(Of PropertyInfo) = Nothing,
Optional typeRegistry As TypeRegistry = Nothing
) As Action(Of TExpressionScope)
public:
generic<typename TExpressionScope>
where TExpressionScope : Object, IValueExpressionScope<T>
static Action<TExpressionScope>^ ApplyDefaults(
IEnumerable<PropertyInfo^>^ properties = nullptr,
TypeRegistry^ typeRegistry = nullptr
)