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