public CellKindViewModel(int Id, string Name, IList<ModificationKindViewModel> Modifications, IList<ChannelViewModel> Channels, ICellPinningProvider PinningProvider) { this.Id = Id; this.Name = Name; this.Modifications = Modifications; this.Channels = Channels; _pinningProvider = PinningProvider; foreach (ModificationKindViewModel modification in Modifications) modification.TargetSelected += ModificationOnTargetSelected; SelectCommand = new DelegateCommand(SelectMe); PinCommand = new DelegateCommand(Pin); }
public IndexCellsCatalogProvider(IIndex Index, IBurningReceiptsCatalog BurningReceiptsCatalog, ICellPinningProvider PinningProvider) { _index = Index; _burningReceiptsCatalog = BurningReceiptsCatalog; _pinningProvider = PinningProvider; }