Exemplo n.º 1
0
 protected void CopyToComponent(LicensedComponent other)
 {
     other.Name      = Name;
     other.LicenseId = LicenseId;
     other.Authors   = Authors;
     other.Copyright = Copyright;
     other.Remarks   = Remarks?.Clone();
 } // CopyToComponent
Exemplo n.º 2
0
        public void Inherit(LicensedComponent from)
        {
            if (from == null)
            {
                return;
            }

            Name ??= from.Name;
            LicenseId ??= from.LicenseId;
            Authors ??= from.Authors;
            Copyright ??= from.Copyright;
            Remarks ??= from.Remarks;
        } // Inherit