public CheckListDetailsViewModel(ICheckListService checkListService, IFilePickerService filePickerService, ICommonServices commonServices, CheckListListViewModel checkListListViewModel, CheckListViewModel checkListViewModel) : base(commonServices)
 {
     CheckListService       = checkListService;
     FilePickerService      = filePickerService;
     CheckListListViewModel = checkListListViewModel;
     CheckListViewModel     = checkListViewModel;
 }
Beispiel #2
0
        public CheckListViewModel(INavigationService navigationService, ICheckListService checkListService) : base(navigationService)
        {
            _checkListService = checkListService;

            Items = new ObservableCollection <CheckListHeaderGroup>();

            ItemClickCommand  = new Command <CheckList>(async(item) => await ItemClickCommandExecute(item));
            SearchListCommand = new Command <string>((s) => SearchListCommandExecute(s));

            LoadDataAsync();
        }
        public CheckListItemViewModel(INavigationService navigationService, ICheckListService checkListService, IMessageBoxService messageBoxService) : base(navigationService)
        {
            _checkListService  = checkListService;
            _messageBoxService = messageBoxService;
            _navigationService = navigationService;

            Items = new ObservableCollection <CheckListItemModel>();

            SelectedItemComboCommand          = new Command <object>((o) => SelectedItemComboExecute(o));
            SelectedItemMultiSelectionCommand = new Command <object>((o) => SelectedItemMultiExecute(o));
            DoneCommand = new Command(() => DoneExecute());
        }
 private ICheckListService _context; // creating service instance
 public ChecklistController(ICheckListService context)
 {
     _context = context;
 }
Beispiel #5
0
 /// <summary>
 /// Inject CheckList service
 /// </summary>
 /// <returns></returns>
 public CheckListController(ICheckListService checkListService)
 {
     _checkListService = checkListService ?? throw new ArgumentNullException($"{nameof(checkListService)}");
 }
Beispiel #6
0
 public CheckListController(ILogger <CheckListController> logger, ICheckListService checkListService)
 {
     _logger           = logger;
     _checkListService = checkListService;
 }
Beispiel #7
0
 public CheckListController(ICheckListService CheckListService, ILogger <CheckListController> logger)
 {
     _CheckListService = CheckListService;
     _logger           = logger;
 }
 public CheckListController(ICheckListService checkListService)
 {
     _checkListService = checkListService;
 }
 public CheckListCollection(ICheckListService checkListService, ILogService logService) : base(logService)
 {
     CheckListService = checkListService;
 }
Beispiel #10
0
 public CheckListListViewModel(ICheckListService checkListService, ICommonServices commonServices, CheckListViewModel checkListViewModel) : base(commonServices)
 {
     CheckListService   = checkListService;
     CheckListViewModel = checkListViewModel;
 }