Example #1
0
        internal UserInfo(PersonInfo personInfo)
        {
            personInfo.ValidateRequired("personInfo");

            ApplyPersonInfo(personInfo);
        }
Example #2
0
        private void ApplyPersonInfo(PersonInfo personInfo)
        {
            m_personInfo = personInfo;

            if (!m_personInfo.HasRecords)
            {
                m_records = new List<IRecord>();
                return;
            }

            m_records = (from record in m_personInfo.Records
                select new RecordImpl(record, m_personInfo.PersonId)).ToList<IRecord>();
        }