public ActionViewModelForTask9(Action action, ActionParam credit, ActionParam isExtensable, ActionParam period, ActionListViewModelForTask9 actionListViewModel) { this.ActionListViewModel = actionListViewModel; this.Name = action.Name; this.Credit = credit; this.IsExtendable = isExtensable; this.Period = period; this.AddActionCommand = new DelegateCommand<object>(this.OnAddAction,this.CanAddAction); }
public ActionViewModelForTask9(Action action, ActionParam credit, ActionParam isExtensable, ActionParam period, ActionListViewModelForTask9 actionListViewModel) { this.ActionListViewModel = actionListViewModel; this.Name = action.Name; this.Credit = credit; this.IsExtendable = isExtensable; this.Period = period; this.AddActionCommand = new DelegateCommand <object>(this.OnAddAction, this.CanAddAction); }