Beispiel #1
0
        public object GetObject(Template template)
        {
            var o = template.UserInputs[Value.ToString()];

            ModifyTool.ApplyModify(template, Modify, o);
            return(o);
        }
Beispiel #2
0
        public object GetObject(Template template)
        {
            var o = Value;

            ModifyTool.ApplyModify(template, Modify, o);
            return(o);
        }
Beispiel #3
0
        public object GetObject(Template template)
        {
            var       cType = TypeResolver.Resolve("condition", Value, template);
            Condition c     = (Condition)Activator.CreateInstance(cType);

            ModifyTool.ApplyModify(template, Modify, c);
            return(c);
        }
        public object GetObject(Template template)
        {
            var o = Value.ToString();

            o = string.Format(o, args: Parameter.Select(d => d.GetObject(template)).ToArray());
            ModifyTool.ApplyModify(template, Modify, o);
            return(o);
        }
Beispiel #5
0
        public object GetObject(Template template)
        {
            var    rType = TypeResolver.Resolve("reward", Value, template);
            Reward r     = (Reward)Activator.CreateInstance(rType);

            ModifyTool.ApplyModify(template, Modify, r);
            return(r);
        }