forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClientTiming.cs
More file actions
42 lines (37 loc) · 1.05 KB
/
Copy pathClientTiming.cs
File metadata and controls
42 lines (37 loc) · 1.05 KB
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.Runtime.Serialization;
namespace StackExchange.Profiling
{
/// <summary>
/// A client timing probe
/// </summary>
[DataContract]
public class ClientTiming
{
/// <summary>
/// Gets or sets the name.
/// </summary>
[DataMember(Order = 1)]
public string Name { get; set; }
/// <summary>
/// Gets or sets the start.
/// </summary>
[DataMember(Order = 2)]
public decimal Start { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
[DataMember(Order = 3)]
public decimal Duration { get; set; }
/// <summary>
/// Unique Identifier used for sql storage.
/// </summary>
/// <remarks>Not set unless storing in Sql</remarks>
public Guid Id { get; set; }
/// <summary>
/// Used for sql storage
/// </summary>
/// <remarks>Not set unless storing in Sql</remarks>
public Guid MiniProfilerId { get; set; }
}
}