19 references to Value
Microsoft.AspNetCore.Mvc.ViewFeatures (19)
ExpressionMetadataProvider.cs (5)
157
viewDataInfo.
Value
== viewData.Model &&
179
Func<object, object> modelAccessor = (ignore) => viewDataInfo.
Value
;
182
else if (viewDataInfo.
Value
!= null)
185
var valueMetadata = metadataProvider.GetMetadataForType(viewDataInfo.
Value
.GetType());
186
return containerExplorer.GetExplorerForExpression(valueMetadata, viewDataInfo.
Value
);
Rendering\MultiSelectList.cs (1)
208
value = viewDataInfo.
Value
;
ViewDataDictionary.cs (1)
362
return info?.
Value
;
ViewDataEvaluator.cs (2)
113
if (targetInfo.
Value
!= null)
116
targetInfo = InnerEvalComplexExpression(targetInfo.
Value
, rightExpression);
ViewDataInfo.cs (10)
9
/// Represents info about a <see cref="ViewDataDictionary"/> lookup which is evaluated when <see cref="
Value
"/> is read.
32
/// <see cref="ViewDataDictionary"/> lookup which is evaluated when <see cref="
Value
"/> is read.
36
/// <param name="container">The <see cref="object"/> that <see cref="
Value
"/> will be evaluated from.</param>
37
/// <param name="propertyInfo">The <see cref="PropertyInfo"/> that will be used to evaluate <see cref="
Value
"/>.</param>
45
/// <see cref="ViewDataDictionary"/> lookup which is evaluated when <see cref="
Value
"/> is read.
48
/// <param name="container">The <see cref="object"/> that has the <see cref="
Value
"/>.</param>
49
/// <param name="propertyInfo">The <see cref="PropertyInfo"/> that represents <see cref="
Value
"/>'s property.</param>
50
/// <param name="valueAccessor">A delegate that will return the <see cref="
Value
"/>.</param>
59
/// Gets the <see cref="object"/> that has the <see cref="
Value
"/>.
64
/// Gets the <see cref="PropertyInfo"/> that represents <see cref="
Value
"/>'s property.