Example #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");
        }
Example #2
0
 protected override ExpressionBase GenerateEmptyResult()
 {
     return(AlwaysTrueFunction.CreateAlwaysTrueFunctionCall());
 }