public CallFunctionStatement(IElementCreationContext context) 
            : base(context)
        {
            _behavior = new CommonFunctionBehavior(context, Parameters, "Call", this);

            AddActions(_behavior.Actions);

            BackgroundColor = Colors.Lavender;
            ForegroundColor = Colors.Black;
        }
        public EvaluateFunctionOperator(IElementCreationContext context) 
            : base(context, context.Owner.GetAnyType())
        {
            _behavior = new CommonFunctionBehavior(context, Parameters, "Evaluate", this);

            AddActions(_behavior.Actions);

            ForegroundColor = Colors.MediumSeaGreen;
            ForegroundColor = Colors.Black;
        }
Exemple #3
0
        public CallFunctionStatement(IElementCreationContext context)
            : base(context)
        {
            _behavior = new CommonFunctionBehavior(context, Parameters, "Call", this);

            AddActions(_behavior.Actions);

            BackgroundColor = Colors.Lavender;
            ForegroundColor = Colors.Black;
        }
        public EvaluateFunctionOperator(IElementCreationContext context)
            : base(context, context.Owner.GetAnyType())
        {
            _behavior = new CommonFunctionBehavior(context, Parameters, "Evaluate", this);

            AddActions(_behavior.Actions);

            ForegroundColor = Colors.MediumSeaGreen;
            ForegroundColor = Colors.Black;
        }