public static List <TComponent> BuildComponentList <TArgument, TComponent>(this LazyComponentRegistrationList <TArgument, TComponent> registrations, TArgument argument) { return(registrations .Select(factory => factory(argument)) .ToList()); }
public static List <TComponent> BuildComponentList <TComponent>(this LazyComponentRegistrationList <Nothing, TComponent> registrations) { return(registrations .Select(factory => factory(null)) .ToList()); }