You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
52 lines
1.7 KiB
C#
52 lines
1.7 KiB
C#
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web.Mvc;
|
|
using Tools.CrashReporter.CrashReportWebSite.DataModels;
|
|
|
|
namespace Tools.CrashReporter.CrashReportWebSite.ViewModels
|
|
{
|
|
/// <summary>
|
|
/// The view model for the bugg show page.
|
|
/// </summary>
|
|
public class BuggViewModel
|
|
{
|
|
/// <summary>The current Bugg to display details of.</summary>
|
|
public Bugg Bugg { get; set; }
|
|
|
|
/// <summary>A container for all the crashes associated with this Bugg.</summary>
|
|
public List<Crash> Crashes { get; set; }
|
|
|
|
/// <summary>The call stack common to all crashes in this Bugg.</summary>
|
|
public CallStackContainer CallStack { get; set; }
|
|
|
|
/// <summary></summary>
|
|
public string SourceContext { get; set; }
|
|
|
|
/// <summary>Time spent in generating this site, formatted as a string.</summary>
|
|
public string GenerationTime { get; set; }
|
|
|
|
/// <summary> Description of most recent crash </summary>
|
|
public string LatestCrashSummary { get; set; }
|
|
|
|
/// <summary>Select list of jira projects</summary>
|
|
public List<SelectListItem> JiraProjects;
|
|
|
|
/// <summary>Jira Project to which to add a new bugg.</summary>
|
|
public string JiraProject { get; set; }
|
|
|
|
/// <summary>
|
|
/// Constructor for BuggViewModel class.
|
|
/// </summary>
|
|
public BuggViewModel()
|
|
{
|
|
JiraProjects = new List<SelectListItem>()
|
|
{
|
|
new SelectListItem(){ Text = "UE", Value = "UE"},
|
|
new SelectListItem(){ Text = "FORT", Value = "FORT"},
|
|
new SelectListItem(){ Text = "ORION", Value = "ORION"},
|
|
};
|
|
}
|
|
}
|
|
} |