C# Класс Rebel.Framework.Localization.Support.ObjectHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
Eval ( object container, string propertyOrField ) : object
ParamsToParameterSet ( object data, bool addWithIndex = false ) : ParameterSet

Converts an object to a parameter set.

Описание методов

Eval() публичный статический Метод

public static Eval ( object container, string propertyOrField ) : object
container object
propertyOrField string
Результат object

ParamsToParameterSet() публичный статический Метод

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".
Результат ParameterSet