Esempio n. 1
0
        /// <summary>
        /// Assigns the fields and properties of aSource to this instance.
        /// </summary>
        /// <param name="aSource">A source EnumObject.</param>
        public void AssignFromSource(EnumObject aSource)
        {
            if (aSource == null) { return; }

            _enumName = aSource._enumName;
            _enumValue = aSource._enumValue;
        }
Esempio n. 2
0
        /// <summary>
        /// Assigns the fields and properties of aSource to this instance.
        /// </summary>
        /// <param name="aSource">A source TransactionStatus.</param>
        public void AssignFromSource(EnumObject aSource)
        {
            if (aSource == null)
            {
                return;
            }

            _enumName  = aSource._enumName;
            _enumValue = aSource._enumValue;
        }