public static Guid CalculateFileImportLogAggregateId(DateTime importLogDateTime, Guid estateId) { Guid aggregateId = GuidCalculator.Combine(estateId, importLogDateTime.ToGuid()); return(aggregateId); }
/// <summary> /// Combines the specified GUIDs into a new GUID. /// </summary> /// <param name="firstGuid">The first unique identifier.</param> /// <param name="secondGuid">The second unique identifier.</param> /// <returns>Guid.</returns> public static Guid Combine(Guid firstGuid, Guid secondGuid) { return(GuidCalculator.Combine(firstGuid, secondGuid, 0)); }