public ConfigurationViewModel(IMessenger messenger, IConfigurationService configurationService)
            : base(messenger)
        {
            this.configurationService = configurationService;
            this.FormatEditorViewModel = new FormatEditorViewModel();
            this.UpdateCheckCommand = new RelayCommand(this.CheckForUpdates, () => !this.IsChecking);

            this.configuration = this.configurationService.GetConfiguration();
        }
        public Configuration GetConfiguration()
        {
            if (this.configuration == null)
            {
                var configurationFile = GetConfigurationFile();
                this.configuration = JsonConvert.DeserializeObject<Configuration>(configurationFile);
            }

            return this.configuration;
        }