public SaveChangesHandler( IViewModelCommand <TViewModelParameter> decorated, IViewModelQuery <CanSaveFile> canSaveFile, IViewModelCommand <SaveFile> saveFile) { this.decorated = decorated; this.canSaveFile = canSaveFile; this.saveFile = saveFile; }
public HomeController(IConferenceLoader conferenceLoader, IViewModelQuery<IEnumerable<SponsorModel>> sponsorsQuery) { if (conferenceLoader == null) { throw new ArgumentNullException("conferenceLoader"); } if (sponsorsQuery == null) { throw new ArgumentNullException("sponsorsQuery"); } this.conferenceLoader = conferenceLoader; this.sponsorsQuery = sponsorsQuery; }
public SponsorController(IViewModelQuery <IEnumerable <SponsorModel> > sponsorsQuery, ISponsorLogoService sponsorLogoService) { if (sponsorsQuery == null) { throw new ArgumentNullException("sponsorsQuery"); } if (sponsorLogoService == null) { throw new ArgumentNullException("sponsorLogoService"); } this.sponsorsQuery = sponsorsQuery; this.sponsorLogoService = sponsorLogoService; }
public SponsorController(IViewModelQuery<IEnumerable<SponsorModel>> sponsorsQuery, ISponsorLogoService sponsorLogoService) { if (sponsorsQuery == null) { throw new ArgumentNullException("sponsorsQuery"); } if (sponsorLogoService == null) { throw new ArgumentNullException("sponsorLogoService"); } this.sponsorsQuery = sponsorsQuery; this.sponsorLogoService = sponsorLogoService; }
public HomeController(IConferenceLoader conferenceLoader, IViewModelQuery <IEnumerable <SponsorModel> > sponsorsQuery, AgendaSessionsLoader agendaSessionsLoader) { if (conferenceLoader == null) { throw new ArgumentNullException("conferenceLoader"); } if (sponsorsQuery == null) { throw new ArgumentNullException("sponsorsQuery"); } if (agendaSessionsLoader == null) { throw new ArgumentNullException("agendaSessionsLoader"); } this.conferenceLoader = conferenceLoader; this.sponsorsQuery = sponsorsQuery; this.agendaSessionsLoader = agendaSessionsLoader; }
private DependencyResolver RegisterViewModelQueries() { this.canSaveFileHandler = new CanSaveFileHandler(); return(this); }
public Handler(IViewModelQuery <Empty, IEnumerable <Result> > query) { _query = query; }