public ShellViewModel(LogParserViewModel logParserViewModel, SettingsViewModel settingsViewModel, AboutViewModel aboutViewModel, SnackbarMessageQueue messageQueue) { this.logParserViewModel = logParserViewModel; this.settingsViewModel = settingsViewModel; this.aboutViewModel = aboutViewModel; this.messageQueue = messageQueue; var assemblyVersion = Assembly.GetExecutingAssembly().GetName().Version; Version = $"Ver. {assemblyVersion.Major}.{assemblyVersion.Minor}.{assemblyVersion.Build}"; }
public MainWindowViewModel(LogParserManager manager) { LogParser = new LogParserViewModel(manager); }