public object GetObject(Template template) { var o = template.UserInputs[Value.ToString()]; ModifyTool.ApplyModify(template, Modify, o); return(o); }
public object GetObject(Template template) { var o = Value; ModifyTool.ApplyModify(template, Modify, o); return(o); }
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); }
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); }