DataBinder
Assembly: ServiceStack.Razor.dll
View Source
Declaration
public static class DataBinder
Methods
CompileToString(Type, String)
View Source
Declaration
public static Func<object, string> CompileToString(Type type, string expr)
Returns
System.Func<System.Object,System.String>
Parameters
Type | Name |
---|---|
System.Type | type |
System.String | expr |
CompileStaticAccessToString(String)
View Source
Declaration
public static Func<string> CompileStaticAccessToString(string expr)
Returns
System.Func<System.String>
Parameters
Type | Name |
---|---|
System.String | expr |
Compile(Type, String)
View Source
Declaration
public static Func<object, object> Compile(Type type, string expr)
Returns
System.Func<System.Object,System.Object>
Parameters
Type | Name |
---|---|
System.Type | type |
System.String | expr |
Compile<TModel, TProp>(String)
View Source
Declaration
public static Func<TModel, TProp> Compile<TModel, TProp>(string expression)
Returns
System.Func<<TModel>,<TProp>>
Parameters
Type | Name |
---|---|
System.String | expression |
Type Parameters
TModel
TProp