C# 클래스 Rebel.Framework.Localization.Support.ObjectHelper

파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
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