public StatementGridViewModel(IStatementProvider statementProvider, IEventAggregator eventAggregator) { _statementProvider = statementProvider; _eventAggregator = eventAggregator; SubscribeToEvents(); Statements = new ObservableCollection <StatementWrapper>( _statementProvider.GetAllStatements().Select(x => new StatementWrapper(x))); LoadLocalizationStrings(); }
public Service(IStatementProvider statement, ITagsProvider tags) { _statement = statement; _tags = tags; }