Skip to main content

DataBinder

Assembly: ServiceStack.dll
View Source
Declaration
public sealed class DataBinder : object

Methods

Eval(Object, String)

View Source
Declaration
public static object Eval(object container, string expression)
Returns

System.Object

Parameters
TypeName
System.Objectcontainer
System.Stringexpression

Eval(Object, String, String)

View Source
Declaration
public static string Eval(object container, string expression, string format)
Returns

System.String

Parameters
TypeName
System.Objectcontainer
System.Stringexpression
System.Stringformat

GetIndexedPropertyValue(Object, String)

View Source
Declaration
public static object GetIndexedPropertyValue(object container, string expr)
Returns

System.Object

Parameters
TypeName
System.Objectcontainer
System.Stringexpr

GetIndexedPropertyValue(Object, String, String)

View Source
Declaration
public static string GetIndexedPropertyValue(object container, string expr, string format)
Returns

System.String

Parameters
TypeName
System.Objectcontainer
System.Stringexpr
System.Stringformat

GetPropertyValue(Object, String)

View Source
Declaration
public static object GetPropertyValue(object container, string propName)
Returns

System.Object

Parameters
TypeName
System.Objectcontainer
System.StringpropName

GetPropertyValue(Object, String, String)

View Source
Declaration
public static string GetPropertyValue(object container, string propName, string format)
Returns

System.String

Parameters
TypeName
System.Objectcontainer
System.StringpropName
System.Stringformat

GetDataItem(Object, out Boolean)

View Source
Declaration
public static object GetDataItem(object container, out bool foundDataItem)
Returns

System.Object

Parameters
TypeName
System.Objectcontainer
System.BooleanfoundDataItem

GetDataItem(Object)

View Source
Declaration
public static object GetDataItem(object container)
Returns

System.Object

Parameters
TypeName
System.Objectcontainer