示例#1
0
        /// <summary>
        /// Creates a deep copy of this object. This is recommended for whenever you want to hold onto a reference
        /// of this object for an extended period without having to worry about if it changes.
        /// </summary>
        /// <returns>A deep copy of this object.</returns>
        public GuildInviteStatus DeepCopy()
        {
            var ret = new GuildInviteStatus();

            ret.Initialize(_guild, _inviteTime);
            return(ret);
        }
示例#2
0
 /// <summary>
 /// Creates a deep copy of this object. This is recommended for whenever you want to hold onto a reference
 /// of this object for an extended period without having to worry about if it changes.
 /// </summary>
 /// <returns>A deep copy of this object.</returns>
 public GuildInviteStatus DeepCopy()
 {
     var ret = new GuildInviteStatus();
     ret.Initialize(_guild, _inviteTime);
     return ret;
 }