You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
56 lines
1.5 KiB
C#
56 lines
1.5 KiB
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web.Mvc;
|
|
using Tools.CrashReporter.CrashReportWebSite.Controllers;
|
|
using System.IO;
|
|
|
|
namespace Tools.CrashReporter.CrashReportWebSite.Models
|
|
{
|
|
/// <summary>
|
|
/// The view model for the crash summary page.
|
|
/// </summary>
|
|
public class CSV_ViewModel
|
|
{
|
|
/// <summary>A container of sorted CSV rows.</summary>
|
|
public List<FCSVRow> CSVRows { get; set; }
|
|
|
|
/// <summary>The date of the earliest crash in a Bugg.</summary>
|
|
public long DateFrom { get; set; }
|
|
|
|
/// <summary>The date of the most recent crash in a Bugg.</summary>
|
|
public long DateTo { get; set; }
|
|
|
|
/// <summary></summary>
|
|
public int TotalAnonymousCrashes { get; set; }
|
|
|
|
/// <summary></summary>
|
|
public int TotalUniqueAnonymousCrashes { get; set; }
|
|
|
|
/// <summary></summary>
|
|
public int TotalAffectedUsers { get; set; }
|
|
|
|
/// <summary>Pathname where the CSV file is saved.</summary>
|
|
public string CSVPathname { get; set; }
|
|
|
|
/// <summary>Filename of the CSV file</summary>
|
|
public string GetCSVFilename()
|
|
{
|
|
return Path.GetFileName( CSVPathname );
|
|
}
|
|
|
|
/// <summary>Directory where the CSV files are saved.</summary>
|
|
public string GetCSVDirectory()
|
|
{
|
|
return Path.GetDirectoryName( CSVPathname );
|
|
}
|
|
|
|
/// <summary>Time spent in generating this site, formatted as a string.</summary>
|
|
public string GenerationTime { get; set; }
|
|
|
|
/// <summary>User input from the client.</summary>
|
|
public FormCollection FormCollection { get; set; }
|
|
}
|
|
} |