Exemple #1
0
 public SettingsViewModel(IRepository commonRepository, IMessanger commonMessanger)
 {
     repository          = commonRepository;
     dateTimePreferences = repository.GetDateTimePreferences();
     messanger           = commonMessanger;
     LoadDateTimePreferences();
     SaveDateTimePreferencesCommand = new RelayCommand(SaveDateTimePreferences);
 }
Exemple #2
0
 public void SetDateTimePreferences(DateTimePreferences preferences)
 {
     dateTimePreferences = preferences;
 }