Note
This function will assign current modeled property values back to expressions, this is often useful
when a model is being synchronized to an external source, e.g., user interface elements.
public static Action<T> UpdateExpressionsForType<TValueExpressionAttribute>(
IEnumerable<PropertyInfo>? properties = null,
TypeRegistry? typeRegistry = null
)
where TValueExpressionAttribute : Attribute, IValueExpressionAttribute
Public Shared Function UpdateExpressionsForType(Of TValueExpressionAttribute As {Attribute, IValueExpressionAttribute}) (
Optional properties As IEnumerable(Of PropertyInfo) = Nothing,
Optional typeRegistry As TypeRegistry = Nothing
) As Action(Of T)public:
generic<typename TValueExpressionAttribute>
where TValueExpressionAttribute : Attribute, IValueExpressionAttribute
static Action<T>^ UpdateExpressionsForType(
IEnumerable<PropertyInfo^>^ properties = nullptr,
TypeRegistry^ typeRegistry = nullptr
)