public InfoWindowViewModel(IEventAggregator eventAggregator, ApplicationModel applicationModel, IAsyncJsonFileManager jsonFileManager) { eventAggregator.SubscribeOnUIThread(this); _options = applicationModel.Options; _jsonFileManager = jsonFileManager; LeftPosition = _options.LeftPosition; TopPosition = _options.TopPosition; }
public ProfileStateModel(HotkeyProfile profile, IAsyncJsonFileManager jsonSavefileManager) { Profile = profile; _jsonSavefileManager = jsonSavefileManager; }
public OptionsViewModel(ApplicationModel applicationModel, IAsyncJsonFileManager jsonSavefileManager) { _options = applicationModel.Options; _applicationModel = applicationModel; _jsonSavefileManager = jsonSavefileManager; }
public ApplicationModel(ProfileSwitchKeyTableManager switchKeyTable, IAsyncJsonFileManager jsonSavefileManager) { _switchKeyTable = switchKeyTable; _jsonSavefileManager = jsonSavefileManager; }
public ProfileSwitchKeyTableManager(IAsyncJsonFileManager jsonSavefileManager, ProfileManager profileManager) { _jsonSavefileManager = jsonSavefileManager; _profileManager = profileManager; }
/// <summary> /// Must explicitly call LoadAllProfileAsync to initialize /// </summary> /// <param name="jsonSavefileManager"></param> public ProfileManager(IAsyncJsonFileManager jsonSavefileManager) { _jsonSavefileManager = jsonSavefileManager; }