Пример #1
0
        protected override void DoExecute(CodeActivityContext context)
        {
            devlog.Debug(string.Format("Entered for '{0}'", ServiceAccount));
            var myServiceAccount = ServiceAccount.Get(context);

            devlog.Debug(string.Format("Got for '{0}'", myServiceAccount));
            ExchangeRepository.Download(myServiceAccount);
        }
Пример #2
0
        protected override void DoExecute(CodeActivityContext context)
        {
            devlog.Debug(string.Format("Entered for '{0}' and '{1}'", ServiceAccount, Ignore));
            var myServiceAccount = ServiceAccount.Get(context);
            var myIgnore         = Ignore.Get(context);

            devlog.Debug(string.Format("Got for '{0}' and '{1}'", myServiceAccount, myIgnore));
            if (!myIgnore)
            {
                RepositoryUpload(myServiceAccount);
            }
        }