public EnableInnerCommand(Action action, bool enabled, BaseCommand c) : base(action, enabled) { _command = c; }
public NomWrapper(NomenclatureList source, BaseCommand selectAction, BaseCommand deleteAction, BaseCommand showInfo) { if (selectAction == null) { throw new ArgumentNullException(nameof(selectAction)); } if (deleteAction == null) { throw new ArgumentNullException(nameof(deleteAction)); } if (showInfo == null) { throw new ArgumentNullException(nameof(showInfo)); } id = source.id; caption = source.caption; group = source.group; description = source.description; patient_preparation = source.patient_preparation; Select = selectAction; Delete = deleteAction; ShowInfo = showInfo; }