blob: fbbaf84e34c148be9ae9267784d1ffe7d309e2d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.FSE.Common.BugReporting
{
/// <summary>
/// Represents a bug reporting service.
/// </summary>
public interface IBugReporter
{
/// <summary>
/// Submits the specified bug.
/// </summary>
/// <param name="bug">The bug.</param>
/// <returns></returns>
Task SubmitBug(Bug bug);
/// <summary>
/// Displays a bug submission dialog. When confirmed, will submit the specified bug.
/// </summary>
/// <param name="bug">The bug.</param>
/// <returns></returns>
Task ShowBugReportDialog(Bug bug);
/// <summary>
/// Displays a bug submission dialog. When confirmed, will submit the new created bug.
/// </summary>
/// <returns></returns>
Task ShowBugReportDialog();
/// <summary>
/// Gets the connected machine bugs.
/// </summary>
/// <param name="start">The start date.</param>
/// <param name="end">The end date.</param>
/// <returns></returns>
Task<List<Bug>> GetConnectedMachineBugs(DateTime start, DateTime end);
}
}
|