コード例 #1
0
 public override void Initialize()
 {
     base.Initialize();
     this._Year                = 0;
     this._SenderNumber        = "";
     this._Abstract            = "";
     this._OfficialCode        = "";
     this._LetterDate          = "";
     this._Text                = "";
     this._CentralOfficialCode = "";
     this._References          = "";
     this._Sender              = new Personnel();
     this._LetterType          = new BasicInfoDetail();
     this._FlowLetter          = new Letter();
     this._ReceiptType         = new BasicInfoDetail();
     this._ReferenceLetter     = new Letter();
     this._Recipients          = new LetterRecipients();
     this._Sensitivity         = new BasicInfoDetail();
     this._LetterPictures      = new LetterPictures();
     this._WordDoc             = new GeneralDocument();
     this._OfficialType        = new BasicInfoDetail();
     this._CorrelateOffer      = new Offer();
     this._ActionType          = new BasicInfoDetail();
     this._Attachments         = new LetterAttachments();
     this._CoOffers            = new Offers();
     this.LetterNO             = "";
 }
        public override object Clone(string sNodeName)
        {
            LetterRecipients recipients = new LetterRecipients();

            foreach (LetterRecipient recipient in this)
            {
                recipients.Add((LetterRecipient)recipient.Clone(sNodeName));
            }
            return(recipients);
        }