-
Notifications
You must be signed in to change notification settings - Fork 0
/
IErrorPrecondition.cs
63 lines (62 loc) · 1.83 KB
/
IErrorPrecondition.cs
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
using ErrorUnit.Interfaces;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace ErrorUnit.Interfaces
{
/// <summary>
/// Error preconditions; Used to record the conditions that lead up to an error.
/// </summary>
public interface IErrorPrecondition
{
/// <summary>
/// Gets the full type name of the class the method that failed is in.
/// </summary>
/// <value>
/// The full type name of the class.
/// </value>
string InvocationClassName { get; set; }
/// <summary>
/// Gets the invocation class.
/// </summary>
/// <value>
/// The invocation class.
/// </value>
TypeNameAndObjectValue InvocationClassValue { get; set; }
/// <summary>
/// Gets the name of the method.
/// </summary>
/// <value>
/// The name of the method.
/// </value>
string MethodName { get; set; }
/// <summary>
/// Gets the arguments.
/// </summary>
/// <value>
/// The arguments.
/// </value>
TypeNameAndObjectValue[] Arguments { get; set; }
/// <summary>
/// Gets the start time of the method.
/// </summary>
/// <value>
/// The start.
/// </value>
DateTime Start { get; set; }
/// <summary>
/// Gets the time the method completes successfully.
/// </summary>
/// <value>
/// The time the method completes successfully.
/// </value>
DateTime? End { get; set; }
/// <summary>
/// Gets the error unit web call identifier.
/// </summary>
/// <value>
/// The error unit web call identifier.
/// </value>
Guid? ErrorUnitWebCallId { get; set; }
}
}