コード例 #1
0
 private static RuleAction.Reply.ActionFlags ReplyFlagsToMapiReplyFlags(RuleAction.ReplyAction.ReplyFlags replyFlags)
 {
     RuleAction.Reply.ActionFlags actionFlags = RuleAction.Reply.ActionFlags.None;
     if ((replyFlags & RuleAction.ReplyAction.ReplyFlags.DoNotSendToOriginator) == RuleAction.ReplyAction.ReplyFlags.DoNotSendToOriginator)
     {
         actionFlags |= RuleAction.Reply.ActionFlags.DoNotSendToOriginator;
     }
     if ((replyFlags & RuleAction.ReplyAction.ReplyFlags.UseStockReplyTemplate) == RuleAction.ReplyAction.ReplyFlags.UseStockReplyTemplate)
     {
         actionFlags |= RuleAction.Reply.ActionFlags.UseStockReplyTemplate;
     }
     return(actionFlags);
 }
コード例 #2
0
 internal static RuleAction.ReplyAction.ReplyFlags MapiReplyFlagsToReplyFlags(RuleAction.Reply.ActionFlags mapiReplyFlags)
 {
     RuleAction.ReplyAction.ReplyFlags replyFlags = RuleAction.ReplyAction.ReplyFlags.None;
     if ((mapiReplyFlags & RuleAction.Reply.ActionFlags.DoNotSendToOriginator) == RuleAction.Reply.ActionFlags.DoNotSendToOriginator)
     {
         replyFlags |= RuleAction.ReplyAction.ReplyFlags.DoNotSendToOriginator;
     }
     if ((mapiReplyFlags & RuleAction.Reply.ActionFlags.UseStockReplyTemplate) == RuleAction.Reply.ActionFlags.UseStockReplyTemplate)
     {
         replyFlags |= RuleAction.ReplyAction.ReplyFlags.UseStockReplyTemplate;
     }
     return(replyFlags);
 }
コード例 #3
0
 public ReplyWorkItem(IRuleEvaluationContext context, byte[] messageTemplateEntryId, Guid replyTemplateGuid, RuleAction.Reply.ActionFlags flags, int actionIndex) : base(context, actionIndex)
 {
     this.messageTemplateEntryId = messageTemplateEntryId;
     this.replyTemplateGuid      = replyTemplateGuid;
     this.flags = flags;
 }