C# Class Rebel.Framework.Localization.Support.ObjectHelper

Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
Eval ( object container, string propertyOrField ) : object
ParamsToParameterSet ( object data, bool addWithIndex = false ) : ParameterSet

Converts an object to a parameter set.

Method Details

Eval() public static méthode

public static Eval ( object container, string propertyOrField ) : object
container object
propertyOrField string
Résultat object

ParamsToParameterSet() public static méthode

Converts an object to a parameter set.
public static ParamsToParameterSet ( object data, bool addWithIndex = false ) : ParameterSet
data object The object to convert.
addWithIndex bool if set to true values are also added by index, e.g. new { Test = 10 } will be added both as "Test" and "0".
Résultat ParameterSet