public SuggestionsController(ISuggestion suggestion, IMapper mapper) { this.suggestion = suggestion ?? throw new ArgumentNullException(nameof(suggestion)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public void InitOptionDB() { mSuggestion = new COptionSuggestion(); mSuggestion.Initial(); }
public void InitInstrumentDB() { mSuggestion = new CInstrumentSuggestion(); mSuggestion.Initial(); }
public void InitFieldDB() { mSuggestion = new CFieldSuggestion(); mSuggestion.Initial(); }
public void InitOptionValueDB(string aOptionName) { mSuggestion = new COptionValueSuggestion(aOptionName); mSuggestion.Initial(); }
public PhraseSubmittedEventHandler(ISuggestion suggestion) { _suggestionFetcher = suggestion ?? throw new ArgumentNullException(nameof(suggestion)); }