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;
        }
예제 #2
0
        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;
        }