ViewDataInfo Class¶
Constructors¶
-
ViewDataInfo
(System.Object, System.Object)¶ Initializes a new instance of the [Microsoft.AspNet.Mvc.Rendering.Expressions.ViewDataInfo](Microsoft.AspNet.Mvc.Rendering.Expressions.ViewDataInfo.yml) class with info about a [Microsoft.AspNet.Mvc.ViewDataDictionary](Microsoft.AspNet.Mvc.ViewDataDictionary.yml) lookup which has already been evaluated.
Arguments: - container (System.Object) –
- value (System.Object) –
public ViewDataInfo(object container, object value)
-
ViewDataInfo
(System.Object, System.Reflection.PropertyInfo, System.Func<System.Object>) Initializes a new instance of the [Microsoft.AspNet.Mvc.Rendering.Expressions.ViewDataInfo](Microsoft.AspNet.Mvc.Rendering.Expressions.ViewDataInfo.yml) class with info about a [Microsoft.AspNet.Mvc.ViewDataDictionary](Microsoft.AspNet.Mvc.ViewDataDictionary.yml) lookup which is evaluated when [Microsoft.AspNet.Mvc.Rendering.Expressions.ViewDataInfo.Value](Microsoft.AspNet.Mvc.Rendering.Expressions.ViewDataInfo.yml) is read.
Arguments: - container (System.Object) –
- propertyInfo (System.Reflection.PropertyInfo) –
- valueAccessor (System.Func{System.Object}) –
public ViewDataInfo(object container, PropertyInfo propertyInfo, Func<object> valueAccessor)
-