public ConnectorController(IConnectorService connectorService, IChargeStationService chargeStationService, IMapper mapper, ISuggester suggester) { _ConnectorService = connectorService; _ChargeStationService = chargeStationService; _Mapper = mapper; _Suggester = suggester; }
public SampleViewModel(ISuggester <DocSetEntity> suggester) { Suggester = suggester; var pathBase = @"C:\Projects\Docsets\Java.docset\Contents\Resources\Documents\"; this.PropertyChanged += (s, e) => { if (e.PropertyName == "SearchQuery") { OnSearchQueryUpdate(SearchQuery); } else if (e.PropertyName == "SelectedResult") { if (SelectedResult != null) { var pageSource = pathBase + SelectedResult.Entity.Path; PageSource = pageSource; } } }; PageSource = @"C:\Projects\Docsets\Java.docset\Contents\Resources\Documents\overview-summary.html"; }