Exemplo n.º 1
0
        /// <summary>
        /// Execute to evaluate the math function.
        /// </summary>
        /// <param name="context">The context of execution of WF4 workflow.</param>
        /// <returns>The result of this function.</returns>
        protected override DynamicValue Execute(CodeActivityContext context)
        {
            DynamicValue operand1 = Operand1.Get(context);
            DynamicValue operand2 = Operand2.Get(context);

            return(ExecuteInternal(operand1, operand2));
        }