Beispiel #1
0
        public void CopyProperties(Contracts.Persistence.IAlbum other)
        {
            other.CheckArgument(nameof(other));

            Id       = other.Id;
            ArtistId = other.ArtistId;
            Title    = other.Title;
        }
Beispiel #2
0
        public void CopyProperties(Contracts.Persistence.IAlbum other)
        {
            if (other == null)
            {
                throw new ArgumentNullException(nameof(other));
            }

            Id       = other.Id;
            ArtistId = other.ArtistId;
            Title    = other.Title;
        }