File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Source/Shared/LastReferenceIdManager Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Exceptionless {
13
13
internal class DefaultLastReferenceIdManager : ILastReferenceIdManager {
14
- private string _lastErrorId ;
14
+ private string _lastReferenceId ;
15
15
16
16
/// <summary>
17
- /// Gets the last event's client id that was submitted to the server.
17
+ /// Gets the last event's reference id that was submitted to the server.
18
18
/// </summary>
19
19
/// <returns>The client id</returns>
20
20
public string GetLast ( ) {
21
- return _lastErrorId ;
21
+ return _lastReferenceId ;
22
22
}
23
23
24
24
/// <summary>
25
- /// Clears the last error id.
25
+ /// Clears the last event's reference id.
26
26
/// </summary>
27
27
public void ClearLast ( ) {
28
- _lastErrorId = String . Empty ;
28
+ _lastReferenceId = null ;
29
29
}
30
30
31
+ /// <summary>
32
+ /// Sets the last event's reference id.
33
+ /// </summary>
34
+ /// <param name="errorId"></param>
31
35
public void SetLast ( string errorId ) {
32
- _lastErrorId = errorId ;
36
+ _lastReferenceId = errorId ;
33
37
}
34
38
}
35
39
}
You can’t perform that action at this time.
0 commit comments