コード例 #1
0
ファイル: TaskViewModel.cs プロジェクト: savasl/SambaPOS-3
 public TaskViewModel(Task model, TaskType taskType, IDiagram widget, IMessagingService messagingService)
 {
     _taskType = taskType;
     _widget = widget;
     _messagingService = messagingService;
     Model = model;
     ToggleCompletedCommand = new CaptionCommand<string>("¨", OnToggleCompleted);
 }
コード例 #2
0
ファイル: TaskViewModel.cs プロジェクト: GHLabs/SambaPOS-3
 public TaskViewModel(Task model, TaskType taskType, TaskEditorViewModel widget, IMessagingService messagingService)
 {
     _taskType = taskType;
     _widget = widget;
     _messagingService = messagingService;
     Model = model;
     ToggleCompletedCommand = new CaptionCommand<string>("¨", OnToggleCompleted);
     ExecuteCommand = new DelegateCommand<string>(OnCommandExecute);
 }