コード例 #1
0
        public override void Created(Sungero.Domain.CreatedEventArgs e)
        {
            base.Created(e);

            _obj.LifeCycleState = LifeCycleState.Draft;

            if (!_obj.State.IsCopied)
            {
                _obj.DeliveryMethod = MailDeliveryMethods.GetAll(m => m.Sid == Constants.MailDeliveryMethod.Exchange).FirstOrDefault();
            }
        }
コード例 #2
0
 public static IMailDeliveryMethod GetExchangeDeliveryMethod()
 {
     return(MailDeliveryMethods.GetAll(x => x.Sid == Constants.MailDeliveryMethod.Exchange).FirstOrDefault());
 }