Ejemplo n.º 1
0
        public ArtifactConcordance Copy()
        {
            ArtifactConcordance artifactConcordance = new ArtifactConcordance()
            {
                Name        = this.fName,
                ValueRange  = this.fValueRange,
                Quote       = this.fQuote,
                Description = this.fDescription
            };

            artifactConcordance.Sections.Clear();
            foreach (MagicItemSection fSection in this.fSections)
            {
                artifactConcordance.Sections.Add(fSection.Copy());
            }
            return(artifactConcordance);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a copy of the artifact concordance.
        /// </summary>
        /// <returns>Returns the copy.</returns>
        public ArtifactConcordance Copy()
        {
            ArtifactConcordance ac = new ArtifactConcordance();

            ac.Name        = fName;
            ac.ValueRange  = fValueRange;
            ac.Quote       = fQuote;
            ac.Description = fDescription;

            ac.Sections.Clear();
            foreach (MagicItemSection mis in fSections)
            {
                ac.Sections.Add(mis.Copy());
            }

            return(ac);
        }