Condividi tramite


ViewDataEvaluator.Eval Metodo

Definizione

Overload

Eval(ViewDataDictionary, String)

Ottiene ViewDataInfo per il nome expression in viewDataspecificato.

Eval(Object, String)

Ottiene ViewDataInfo per il nome expression in indexableObjectspecificato.

Eval(ViewDataDictionary, String)

Origine:
ViewDataEvaluator.cs
Origine:
ViewDataEvaluator.cs
Origine:
ViewDataEvaluator.cs

Ottiene ViewDataInfo per il nome expression in viewDataspecificato.

public:
 static Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataInfo ^ Eval(Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ viewData, System::String ^ expression);
public static Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo Eval (Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, string expression);
static member Eval : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary * string -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo
Public Shared Function Eval (viewData As ViewDataDictionary, expression As String) As ViewDataInfo

Parametri

viewData
ViewDataDictionary

Oggetto ViewDataDictionary che può contenere il expression valore .

expression
String

Nome dell'espressione, relativo a viewData.Model.

Restituisce

ViewDataInfoper il nome expression specificato.viewData

Si applica a

Eval(Object, String)

Origine:
ViewDataEvaluator.cs
Origine:
ViewDataEvaluator.cs
Origine:
ViewDataEvaluator.cs

Ottiene ViewDataInfo per il nome expression in indexableObjectspecificato.

public:
 static Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataInfo ^ Eval(System::Object ^ indexableObject, System::String ^ expression);
public static Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo Eval (object indexableObject, string expression);
static member Eval : obj * string -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo
Public Shared Function Eval (indexableObject As Object, expression As String) As ViewDataInfo

Parametri

indexableObject
Object

Oggetto Object che può contenere il expression valore .

expression
String

Nome dell'espressione, relativo a indexableObject.

Restituisce

ViewDataInfoper il nome expression specificato.indexableObject

Si applica a