public CheckListDetailsViewModel(ICheckListService checkListService, IFilePickerService filePickerService, ICommonServices commonServices, CheckListListViewModel checkListListViewModel, CheckListViewModel checkListViewModel) : base(commonServices) { CheckListService = checkListService; FilePickerService = filePickerService; CheckListListViewModel = checkListListViewModel; CheckListViewModel = checkListViewModel; }
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; }
/// <summary> /// Inject CheckList service /// </summary> /// <returns></returns> public CheckListController(ICheckListService checkListService) { _checkListService = checkListService ?? throw new ArgumentNullException($"{nameof(checkListService)}"); }
public CheckListController(ILogger <CheckListController> logger, ICheckListService checkListService) { _logger = logger; _checkListService = checkListService; }
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; }
public CheckListListViewModel(ICheckListService checkListService, ICommonServices commonServices, CheckListViewModel checkListViewModel) : base(commonServices) { CheckListService = checkListService; CheckListViewModel = checkListViewModel; }