Exemple #1
0
        // --------------------------------------------------
        // SERIALIZATION
        // --------------------------------------------------

        #region Serialization

        /// <summary>
        /// Updates information for storage.
        /// </summary>
        /// <param name="log">The log to update.</param>
        public override void UpdateStorageInfo(IBdoLog log = null)
        {
            base.UpdateStorageInfo(log);

            Objects = Items?.Select(p =>
            {
                DataElementSet elementSet = ElementFactory.CreateSetFromObject <DataElementSet>(p);
                elementSet?.UpdateStorageInfo(log);
                return(elementSet);
            }).ToList();
        }
Exemple #2
0
        // --------------------------------------------------
        // CLONING
        // --------------------------------------------------

        #region Cloning

        /// <summary>
        /// Clones this instance.
        /// </summary>
        /// <returns>Returns a cloned instance.</returns>
        public override object Clone(params string[] areas)
        {
            DataElementSet elementSet = base.Clone(areas) as DataElementSet;

            return(elementSet);
        }