ViewDataInfo Class

Definition

Represents info about a ViewDataDictionary lookup which is evaluated when Value is read.

public ref class ViewDataInfo
public class ViewDataInfo
type ViewDataInfo = class
Public Class ViewDataInfo
Inheritance
ViewDataInfo

Constructors

ViewDataInfo(Object, Object)

Initializes a new instance of the ViewDataInfo class with info about a ViewDataDictionary lookup which has already been evaluated.

ViewDataInfo(Object, PropertyInfo)

Initializes a new instance of the ViewDataInfo class with info about a ViewDataDictionary lookup which is evaluated when Value is read. It uses GetValue(Object) on propertyInfo passing parameter container to lazily evaluate the value.

ViewDataInfo(Object, PropertyInfo, Func<Object>)

Initializes a new instance of the ViewDataInfo class with info about a ViewDataDictionary lookup which is evaluated when Value is read. It uses valueAccessor to lazily evaluate the value.

Properties

Container

Gets the Object that has the Value.

PropertyInfo

Gets the PropertyInfo that represents Value's property.

Value

Gets the value of the property.

Applies to