Example #1
0
        // If your activity returns a value, derive from CodeActivity<TResult>
        // and return the value from the Execute method.
        protected override void Execute(CodeActivityContext context)
        {
            //TODO: реализовать пример объернутого вызова сервиса

            var cls    = Assembly.Load("WebApplication1").GetType("WebApplication1.RequestCard.RequestCardServices");
            var method = cls.GetMethod(ServiceName.Get(context));

            Result.Set(context, (TOut)method.Invoke(null, InParams.Get(context)));
        }