public HomeController(IDataService dataServ, IPerformerService performerServ, ISongService songServ, IChordService chordServ) { dataService = dataServ; performerService = performerServ; songService = songServ; chordService = chordServ; }
public MainViewModel(IChordService chordService, INavigationService navigationService) { SelectChordCommand = new RelayCommand<ChordsItemViewModel>(SelectChord); SelectChordRootCommand = new RelayCommand<ChordsGroupViewModel>(SelectChordRoot); _chordService = chordService; _navigationService = navigationService; LoadChords(); }
/// <summary> /// Initializes a new instance of the ChordsListBViewModel class. /// </summary> public ChordsListViewModel(IChordService chordService, INavigationService navigationService) { _chordService = chordService; _navigationService = navigationService; GoBackCommand = new RelayCommand(GoBack); Root = _chordService.SelectedRoot; LoadData(); }
public MainViewModel(IChordService chordService, INavigationService navigationService) { SelectChordCommand = new RelayCommand <ChordsItemViewModel>(SelectChord); SelectChordRootCommand = new RelayCommand <ChordsGroupViewModel>(SelectChordRoot); _chordService = chordService; _navigationService = navigationService; LoadChords(); }
public ChordBusiness(IKeyService keyService, IAlterationService alterationService, IChordQualityService chordQualityService, IChordService chordService, INoteService noteService) { _keyService = keyService; _alterationService = alterationService; _chordQualityService = chordQualityService; _chordService = chordService; _noteService = noteService; }
public StringInstrumentChordService(IChordService chordService) { ChordService = chordService; }
public AudioController (IAudioService audioService, IChordService chordService) : base() { this.audioService = audioService; this.chordService = chordService; }
public ChordsController(IChordService chordService) : base(chordService) { this._chordService = chordService; }
public HomeController(INoteService noteService, IChordQualityService chordQualityService, IChordService chordService) { _chordQualityService = chordQualityService; _chordService = chordService; _noteService = noteService; }
public IEnumerable <IChordDefinition> Definitions([FromServices] IChordService chordService) => chordService.GetDefinitions();
public IEnumerable <IChord> ReverseSearch([FromServices] IChordService chordService, string notes) { var splitted = notes.Split(','); return(chordService.ReverseSearch(splitted)); }
public IChord GetChord([FromServices] IChordService chordService, string note, Chords type) => chordService.GetChord(note, type);
public IEnumerable <IChord> GetAllChords([FromServices] IChordService chordService, string note) => chordService.GetChords(note);