示例#1
0
        /// <sumary>
        /// VC_Retorno_Expression
        /// </sumary>
        /// <param name="param1">parámetro de entrada de plantilla</param>
        /// <param name="param2">param2</param>
        public RuntimeResult <bool> Execute(string param1, string param2)
        {
            try
            {
                // Resolución de prerequisitos
                #region Fields
                this.param1     = param1;
                this.param2     = param2;
                this.Result     = FUNC_Result();
                this.VC_Retorno = FUNC_VC_Retorno();
                #endregion

                // Validación de valores
                ValidateValues();

                return(EvaluateCombinations());
            }
            catch (Exception ex)
            {
                return(RuntimeResult <bool> .SetError(ex.Message));
            }
        }
示例#2
0
 /// <sumary>
 /// Evalua las combinaciones
 /// </sumary>
 private RuntimeResult <bool> EvaluateCombinations()
 {
     return(RuntimeResult <bool> .SetError("No cumple ninguna condición"));
 }