Exemplo n.º 1
0
        /// <summary>
        ///     Constructor
        /// </summary>
        public ContactRoleObj()
        {
            _contactRef = null;

            _contact = null;
            _role    = null;
        }
Exemplo n.º 2
0
        /// <summary>
        ///     Create an object using the contents of the corresponding MzIdentML object
        /// </summary>
        /// <param name="cr"></param>
        /// <param name="idata"></param>
        public ContactRoleObj(ContactRoleType cr, IdentDataObj idata)
            : base(idata)
        {
            ContactRef = cr.contact_ref;

            _role = null;

            if (cr.Role != null)
            {
                _role = new RoleObj(cr.Role, IdentData);
            }
        }