public MemberAnnotationEntity(AssemblyMemberEntity member, HistoryAttribute historyAttribute) { if (member == null) { throw new ArgumentNullException(nameof(member)); } if (historyAttribute == null) { throw new ArgumentNullException(nameof(historyAttribute)); } DateTime = historyAttribute.DateTime; Author = historyAttribute.Author; Description = historyAttribute.Description; Member = member; }