ValueExtensions.

SetBackingValue<T, TV>(T, Expression<Func<T, TV>>, TV) Method

Summary

Sets the backing value.

Syntax

public static T SetBackingValue<T, TV>(this T instance, Expression<Func<T, TV>> expression, TV value)

Attributes

Type Description
NullableContextAttribute

Type Parameters

Name Description
T
TV

Parameters

Name Type Description
instance T The instance.
expression Expression<Func<T, TV>> The expression.
value TV The value.

Return Value

Type Description
T