コード例 #1
0
        protected override void DoExecute(CodeActivityContext context)
        {
            devlog.Debug(string.Format("Called on '{0}'and  '{1}'", AdapterAppointment, ServiceAccountId));
            var myAdapterAppointment          = AdapterAppointment.Get(context);
            var myServiceAccountId            = ServiceAccountId.Get(context);
            var myOriginalExchangeAppointment = OriginalExchangeAppointment.Get(context);

            devlog.Debug(string.Format("Got '{0}' and  '{1}' and '{2}'", myAdapterAppointment, myServiceAccountId, myOriginalExchangeAppointment));
            var exchangeAppointment = ExchangeRepository.ConvertFromDTO(myAdapterAppointment, myServiceAccountId, myOriginalExchangeAppointment);

            ExchangeAppointment.Set(context, exchangeAppointment);
        }