public static IBinding BindAllAsList <TAbstraction>(this IBinder This, Assembly assembly = null) { var listBinder = new ListBinder <TAbstraction>(This); listBinder.BindAll(assembly); return(listBinder.CompositeBinding); }
public static IBinding BindList <TAbstraction>(this IBinder This, Action <IListBinder <TAbstraction> > action) { var listBinder = new ListBinder <TAbstraction>(This); action(listBinder); return(listBinder.CompositeBinding); }