Пример #1
0
 public void GetColumnName()
 {
     EventPointerFormatter.GetColumnName(636207551966343582, minGuid).Should().Be("00636207551966343582_00000000-0000-0000-0000-000000000000");
     EventPointerFormatter.GetColumnName(636207551966343582, maxGuid).Should().Be("00636207551966343582_ffffffff-ffff-ffff-ffff-ffffffffffff");
     EventPointerFormatter.GetColumnName(636207551966343582, Guid.Parse("7C314F94-26EA-4725-9CF8-AD5A91D01457")).Should().Be("00636207551966343582_7c314f94-26ea-4725-9cf8-ad5a91d01457");
 }
Пример #2
0
 private static string ColumnName(Timestamp ts, Guid eventId)
 {
     return(EventPointerFormatter.GetColumnName(ts.Ticks, eventId));
 }
 private static string Offset(Timestamp eventTimestamp, Guid eventId)
 {
     return(EventPointerFormatter.GetColumnName(eventTimestamp.Ticks, eventId));
 }