Shallow cloning example

Source: Internet
Author: User

    public class notifydata:icloneable     {        //<summary>        //notification ID.        //</summary>         Public string  Notifyid {get; set;}        //<summary>    & nbsp;   ///notification type.        //</summary>         Public Notifytypes Notifytype {get; set;}        //<summary>    & nbsp;   ///police ID.        //</summary>         Public String Alarmid {get; set;}        ///<summary>     & nbsp;  ///recipient ID.        //</summary>         public string Receiverid { Get Set }        ///<summary>        // The recipient's name.        //</summary>         Public String Receivername {get; set;}        ///<summary>         ///Sender ID.        //</summary>         Public String SenderId {get; set;}        ///<summary>     & nbsp;  ///sender name.        //</summary>         Public String SenderName {get; set;}        ///<summary>        ///notification content.        //</summary>         Public String Content {get; set;}        ///<summary>     & nbsp;  ///attachment collection.        //</summary>         Public Ilist<accessory> attachlist {get; set;}        //<summary>  & nbsp;     ///theme.        //</summary>         Public String Subject {get; set;}        ///<summary>     & nbsp;  ///Receive organization Id,id and ID with '. ' Separated. (Only the parent organization ID is shown).        //</summary>         Public String Receiverallorgids {geT Set }        ///<summary>        // Receive organization name, between name and name '. ' Separated. (Displays only the parent organization name).        //</summary>         Public String Receiverallorgnames {get; set;}        ///<summary>   & nbsp;    ///Receive organization Id,id and ID with '. ' Separated. (Displays only the organization ID that was sent separately).        //</summary>         Public String Receiverselforgids {get; set;}        ///<summary>         ///Receive organization name, use '. ' Between name and name Separated. (Displays only the name of the organization sent separately).        //</summary>         Public String Receiverselforgnames {get; set;}

public Object Clone () {return (Notifydata) this.         MemberwiseClone (); }     }

Shallow cloning example

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.