AndDisplays <TObject, TPropertyType>(this IListElementBinder <TObject, TPropertyType> listElementBinder, Func <TPropertyType, string> displayValueFor) { listElementBinder.DisplayValueFor = displayValueFor; return(listElementBinder); }
AndDisplays <TObject, TPropertyType>(this IListElementBinder <TObject, TPropertyType> listElementBinder, Func <TObject, IEnumerable <string> > listOfDisplayValues) { listElementBinder.ListOfDisplayValues = listOfDisplayValues; return(listElementBinder); }
WithValues <TObject, TPropertyType>(this IListElementBinder <TObject, TPropertyType> listElementBinder, Func <TObject, IEnumerable <TPropertyType> > listOfValues) { listElementBinder.ListOfValues = listOfValues; return(listElementBinder); }
AndDisplays <TObject, TPropertyType>(this IListElementBinder <TObject, TPropertyType> listElementBinder, params string[] listOfDisplayValues) { listElementBinder.ListOfDisplayValues = item => listOfDisplayValues; return(listElementBinder); }
WithValues <TObject, TPropertyType>(this IListElementBinder <TObject, TPropertyType> listElementBinder, params TPropertyType[] listOfValues) { listElementBinder.ListOfValues = item => listOfValues; return(listElementBinder); }