Example #1
0
 //
 // Construct a PropertyAccessor for mailmsg per-recip
 // properties.  This instance of PropertyAccessor does not
 // "own" the runtime callable wrapper (RCW) -- Dispose will do nothing of significance.
 // The RCW is owned by the PropertyAccessor instance used for
 // accessing mailmsg per-msg properties.
 //
 internal PropertyAccessor(
     IMailMsgRecipientsBase pRecips,
     uint dwRecipIdx)
 {
     this.pRecips    = pRecips;
     this.dwRecipIdx = dwRecipIdx;
 }
Example #2
0
 //
 // Construct a PropertyAccessor for mailmsg per-recip
 // properties.  This instance of PropertyAccessor does not
 // "own" the runtime callable wrapper (RCW) -- Dispose will do nothing of significance.
 // The RCW is owned by the PropertyAccessor instance used for
 // accessing mailmsg per-msg properties.
 //
 internal PropertyAccessor(
     IMailMsgRecipientsBase pRecips,
     uint dwRecipIdx)
 {
     this.pRecips = pRecips;
     this.dwRecipIdx = dwRecipIdx;
 }
Example #3
0
 //
 // Add more per-msg property accessors above this line.
 //
 //
 // Protected methods.
 //
 protected virtual Recip CreateRecip(
     IMailMsgRecipientsBase pRecipBase,
     uint idx)
 {
     return new Recip(pRecipBase, idx);
 }
Example #4
0
 //
 // Internal method.
 //
 internal Recip CreateRecipInternal(
     IMailMsgRecipientsBase pRecipBase,
     uint idx)
 {
     return CreateRecip(pRecipBase, idx);
 }
Example #5
0
 public Recip(IMailMsgRecipientsBase pRecips, uint idx)
     : base(pRecips, idx)
 {
 }
Example #6
0
 public Recip(IMailMsgRecipientsBase pRecips, uint idx) :
     base(pRecips, idx)
 {
 }
Example #7
0
 //
 // Internal method.
 //
 internal Recip CreateRecipInternal(
     IMailMsgRecipientsBase pRecipBase,
     uint idx)
 {
     return(CreateRecip(pRecipBase, idx));
 }
Example #8
0
        //
        // Add more per-msg property accessors above this line.
        //

        //
        // Protected methods.
        //
        protected virtual Recip CreateRecip(
            IMailMsgRecipientsBase pRecipBase,
            uint idx)
        {
            return(new Recip(pRecipBase, idx));
        }