Exemple #1
0
        public OSSong Clone()
        {
            var song = new OSSong();

            song.CopyProps(this);
            return(song);
        }
Exemple #2
0
        public void CopyProps(OSSong otherSong)
        {
            Author     = otherSong.Author;
            Capo       = otherSong.Capo;
            CCLINumber = otherSong.CCLINumber;
            Copyright  = otherSong.Copyright;

            HymnNumber         = otherSong.HymnNumber;
            Key                = otherSong.Key;
            Content            = otherSong.Content;
            Presentation       = otherSong.Presentation;
            Themes             = otherSong.Themes;
            Title              = otherSong.Title;
            CreatedDateUTC     = otherSong.CreatedDateUTC;
            LastUpdatedDateUTC = otherSong.LastUpdatedDateUTC;
            CreatedByID        = otherSong.CreatedByID;
            CreatedBy          = otherSong.CreatedBy;
            VideoEmbedID       = otherSong.VideoEmbedID;
            VideoLinkType      = otherSong.VideoLinkType;
            Tempo              = otherSong.Tempo;
        }