/// <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)); }
public static Guid CalculateSettlementAggregateId(DateTime settlementDate, Guid estateId) { Guid aggregateId = GuidCalculator.Combine(estateId, settlementDate.ToGuid()); return(aggregateId); }