public MainViewModel(IAddressRepository addressRepository, IProgressNotificationService progressNotificationService) { this.addressRepository = addressRepository; Addresses = addressRepository.GetAddresses().Select(a => new AddressViewModel(a)).ToList(); this.progressNotificationService = progressNotificationService; LocateMe = new RelayCommand(SendMyLocationMessage); Nearest = new RelayCommand(SendNearestLocationMessage); Directions = new RelayCommand(SendNearestDirectionsMessage); }
public ProgressNotificationController(IProgressNotificationService progressNotificationService) { ProgressNotificationService = progressNotificationService; }
public ChallengeNotificationFilterImpl(IProgressNotificationService notifier) { _notifier = notifier; }
public static IProgressNotificationService Resolve(IProgressNotificationService service) { return(service ?? new ConsoleProgressNotificationService()); }