File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,15 @@ public static class ActivityIdGenerator
1414 // UUID epoch (October 15, 1582) and Unix epoch (January 1, 1970)
1515 private static long UuidEpochDifference = 122192928000000000 ;
1616
17- /// <summary>Generates an Activity ID for the given epoch timestamp and foreign ID .</summary>
17+ /// <summary>Generates an Activity ID for the given foreign ID and epoch timestamp .</summary>
1818 public static Guid GenerateId ( string foreignId , int epoch )
1919 {
2020 return GenerateId ( foreignId , Epoch . AddSeconds ( epoch ) ) ;
2121 }
2222
2323 /// <summary>
24- /// Generates an Activity ID for the given timestamp and foreign ID.
25- /// <paramref name="timestamp"/> must be UTC.
24+ /// Generates an Activity ID for the given foreign ID and timestamp.
2625 /// </summary>
27- /// <exception cref="ArgumentException">Raised if the timestamp kind if not UTC.</exception>
2826 public static Guid GenerateId ( string foreignId , DateTime timestamp )
2927 {
3028 // The backend doesn't care about milliseconds, so we truncate the date here.
You can’t perform that action at this time.
0 commit comments