Partilhar via


ObjectPath.ForEachProperty(Object, Action<String,Object>) Método

Definição

Aplicar uma ação a todas as propriedades num objeto.

public static void ForEachProperty (object obj, Action<string,object> action);
static member ForEachProperty : obj * Action<string, obj> -> unit
Public Shared Sub ForEachProperty (obj As Object, action As Action(Of String, Object))

Parâmetros

obj
Object

Objeto a mapear.

action
Action<String,Object>

Ação a tomar.

Aplica-se a