/// <summary> /// Initializes a new instance of the <see cref="Party"/> class. /// </summary> public Party(string role, PartyId partyId) { Role = role; PartyIds = new List <PartyId> { partyId }; }
/// <summary> /// Initializes a new instance of the <see cref="Party"/> class. /// </summary> public Party(PartyId partyId) : this(null, partyId) { }