public HistoryDataByFileViewModel(HistoryDataViewModel parentVM, HistoryDataByFile fileHistory)
		{
			ParentVM = parentVM;
			FileHistory = fileHistory;

			InputFileName = Path.GetFileName(FileHistory.InputFilePath);
			InputFilePath = FileHistory.InputFilePath;

			if (FileHistory.OutputFilePath != null)
			{
				OutputFileName = Path.GetFileName(FileHistory.OutputFilePath);
				OutputFilePath = FileHistory.OutputFilePath;
			}
			else
			{
				OutputFileName = "<出力なし>";
				OutputFilePath = null; 
			}

			IsAlreadyOutputFile = FileHistory.OutputFilePath == null && FileHistory.IsSuccessed;

			StartTime = FileHistory.StartTime.ToShortTimeString();
			var totalSec = FileHistory.EndTime.Subtract(FileHistory.StartTime).TotalSeconds;

			ProcessTime = $"{totalSec:f3}";

			IsSuccessed = FileHistory.IsSuccessed;
			IsFailed = !IsSuccessed;

		}
		public HistoryActionViewModel(HistoryDataViewModel parentVM, AppLaunchReactiveAction action)
		{
			ParentVM = parentVM;
			Action = action;

			AppName = action.AppPolicy?.AppName ?? "<Deleted AppPolicy>";
			OptionsText = String.Join("+", action.Options.Select(x => x.OptionDeclaration?.Name ?? ""));

			OptionInstances = action.Options
				.Select(x => new AppOptionInstanceViewModel(Action, x))
				.ToList();
		}