Esempio n. 1
0
        public MeasuredFunction()
            : base("measured", RequirementType.Measured)
        {
            Parameters.Add(new VariableDefinitionExpression("when"));
            Parameters.Add(new VariableDefinitionExpression("format"));

            DefaultParameters["when"]   = AlwaysTrueFunction.CreateAlwaysTrueFunctionCall();
            DefaultParameters["format"] = new StringConstantExpression("raw");
        }
Esempio n. 2
0
 protected override ExpressionBase GenerateEmptyResult()
 {
     return(AlwaysTrueFunction.CreateAlwaysTrueFunctionCall());
 }