public AssemblyMemberEntity(AssemblyEntity assembly, MemberInfo memberInfo) { if (assembly == null) { throw new ArgumentNullException(nameof(assembly)); } if (memberInfo == null) { throw new ArgumentNullException(nameof(memberInfo)); } MemberType = memberInfo.MemberType; Name = memberInfo.Name; Assembly = assembly; }