Note
This function will assign evaluated expression values to properties in an existing model.
public static Action<TExpressionScope> UpdateInstance<TExpressionScope>(
IEnumerable<PropertyInfo>? properties = null,
TypeRegistry? typeRegistry = null
)
where TExpressionScope : Object, IValueExpressionScope<T>
Public Shared Function UpdateInstance(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>^ UpdateInstance(
IEnumerable<PropertyInfo^>^ properties = nullptr,
TypeRegistry^ typeRegistry = nullptr
)