Пример #1
0
        /// <summary>
        /// Generates a clone of this message instance, generating a new
        /// <see cref="Msg._MsgID" /> property if the original ID is
        /// not empty.
        /// </summary>
        /// <returns>The cloned message.</returns>
        public override Msg Clone()
        {
            HubKeepAliveMsg clone;

            clone = new HubKeepAliveMsg(Stub.Param);
            clone.CopyBaseFields(this, true);

            return(clone);
        }