public static PagedCheckboxBuilder <TResult> WithDefaultValue <TResult>(this PagedCheckboxBuilder <TResult> builder, TResult defaultValue) where TResult : IComparable { builder.Default(builder.Choices, new List <TResult>() { defaultValue }); return(builder); }
public static PagedCheckboxBuilder <TResult> WithDefaultValue <TResult>(this PagedCheckboxBuilder <TResult> builder, Func <TResult, bool> compareTo) { builder.Default(builder.Choices, compareTo); return(builder); }