ViewDataInfo Class¶
- Namespace
Microsoft.AspNetCore.Mvc.ViewFeatures- Assemblies
- Microsoft.AspNetCore.Mvc.ViewFeatures
Constructors¶
-
ViewDataInfo(System.Object, System.Object)¶ Initializes a new instance of the
Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfoclass with info about aMicrosoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionarylookup which has already been evaluated.public ViewDataInfo(object container, object value)
-
ViewDataInfo(System.Object, System.Reflection.PropertyInfo, System.Func<System.Object>) Initializes a new instance of the
Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfoclass with info about aMicrosoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionarylookup which is evaluated whenMicrosoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo.Valueis read.public ViewDataInfo(object container, PropertyInfo propertyInfo, Func<object> valueAccessor)
-
Properties¶
-
Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo.Container¶ Return type: System.Object public object Container { get; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo.PropertyInfo¶ Return type: System.Reflection.PropertyInfo public PropertyInfo PropertyInfo { get; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo.Value¶ Return type: System.Object public object Value { get; set; }
-