using System.Collections.Generic;
using System.Linq;
namespace ShareeBike.ViewModel.Settings
{
/// Manages data to be shown by a picker.
public class PickerViewModel : ServicesViewModel
{
/// Constructs view model ensuring consistency.
/// Dictionary holding values and display text to mange and display by picker.
/// Value of entry for which the display text has to be shown.
public PickerViewModel(
IDictionary serviceToText,
string active) : base(serviceToText.Select(x => x.Key), serviceToText, active)
{
}
}
}