Skip to main content

Input

Assembly: ServiceStack.Client.dll​
View Source​
Declaration
public static class Input

Properties​

TypesMap​

View Source​
Declaration
public static Dictionary<Type, string> TypesMap { get; set; }

TypeNameMap​

View Source​
Declaration
public static Dictionary<string, string> TypeNameMap { get; }

Methods​

FieldsPerRow(InputInfo, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)​

View Source​
Declaration
public static InputInfo FieldsPerRow(this InputInfo input, int sm, int? md = null, int? lg = null, int? xl = null, int? xl2 = null)
Returns​

ServiceStack.InputInfo

Parameters​
TypeName
ServiceStack.InputInfoinput
System.Int32sm
System.Nullable<System.Int32>md
System.Nullable<System.Int32>lg
System.Nullable<System.Int32>xl
System.Nullable<System.Int32>xl2

AddCss(InputInfo, Action<Input.ConfigureCss>)​

View Source​
Declaration
public static InputInfo AddCss(this InputInfo input, Action<Input.ConfigureCss> configure)
Returns​

ServiceStack.InputInfo

Parameters​
TypeName
ServiceStack.InputInfoinput
System.Action<ServiceStack.Html.Input.ConfigureCss>configure

For<TModel>(Expression<Func<TModel, Object>>, Action<InputInfo>)​

View Source​
Declaration
public static InputInfo For<TModel>(Expression<Func<TModel, object>> expr, Action<InputInfo> configure)
Returns​

ServiceStack.InputInfo

Parameters​
TypeName
System.Linq.Expressions.Expression<System.Func<<TModel>,System.Object>>expr
System.Action<ServiceStack.InputInfo>configure
Type Parameters​
  • TModel

For<TModel>(Expression<Func<TModel, Object>>)​

View Source​
Declaration
public static InputInfo For<TModel>(Expression<Func<TModel, object>> expr)
Returns​

ServiceStack.InputInfo

Parameters​
TypeName
System.Linq.Expressions.Expression<System.Func<<TModel>,System.Object>>expr
Type Parameters​
  • TModel

Create(PropertyInfo)​

View Source​
Declaration
public static InputInfo Create(PropertyInfo pi)
Returns​

ServiceStack.InputInfo

Parameters​
TypeName
System.Reflection.PropertyInfopi

GetEnumEntries(Type)​

View Source​
Declaration
public static KeyValuePair<string, string>[] GetEnumEntries(Type enumType)
Returns​

System.Collections.Generic.KeyValuePair<System.String,System.String>[]

Parameters​
TypeName
System.TypeenumType

GetEnumEntries(Type, out KeyValuePair<String, String>[])​

View Source​
Declaration
public static bool GetEnumEntries(Type enumType, out KeyValuePair<string, string>[] entries)
Returns​

System.Boolean

Parameters​
TypeName
System.TypeenumType
System.Collections.Generic.KeyValuePair<System.String,System.String>[]entries

GetEnumValues(Type)​

View Source​
Declaration
public static string[] GetEnumValues(Type enumType)
Returns​

System.String[]

Parameters​
TypeName
System.TypeenumType

GetDescription(MemberInfo)​

View Source​
Declaration
public static string GetDescription(MemberInfo mi)
Returns​

System.String

Parameters​
TypeName
System.Reflection.MemberInfomi

FromGridLayout(IEnumerable<List<InputInfo>>)​

Convert from Grid Matrix of Inputs into a flat List of Inputs with configured grid classes

View Source​
Declaration
public static List<InputInfo> FromGridLayout(IEnumerable<List<InputInfo>> gridLayout)
Returns​

System.Collections.Generic.List<ServiceStack.InputInfo>

Parameters​
TypeName
System.Collections.Generic.IEnumerable<System.Collections.Generic.List<ServiceStack.InputInfo>>gridLayout