public CombinationWithParamViewModel(Action act, Event ev, ActionParam actionParam, EventParam eventParam, CombinationWithParamListViewModel combinationWithParamListViewModel) { CombinationWithParamListViewModel = combinationWithParamListViewModel; this.Action = act; this.Event = ev; this.ActionParam = actionParam; this.EventParam = eventParam; }
public PageCombinations(BaseLayer baseLayer) { InitializeComponent(); _baseLayer = baseLayer; LocalTaskLayer.taskParams.Task = baseLayer.Task; grid_taskParam.DataContext = LocalTaskLayer.taskParams; LocalTaskLayer.CreateCombinations(_baseLayer); _combinationListViewModel = new CombinationWithParamListViewModel(_baseLayer); CombinationListControl.DataContext = _combinationListViewModel; }