public ShipsController(IViewModelCache viewModelCache, IBus bus) { if (viewModelCache == null) throw new ArgumentNullException("viewModelCache"); if (bus == null) throw new ArgumentNullException("bus"); this.viewModelCache = viewModelCache; this.bus = bus; }
public AddDependentViewModelCommandHandler(IViewModelCache cache) { _cache = cache; }