public static object ToJson(this ConditionType parameter) { return(new { Name = parameter.GetDesignation(), Value = parameter.GetName() }); }
public override string NameForDisplayPEGI() { var name = "If {0} {1} {2}".F(base.NameForDisplayPEGI(), type.GetName(), Trigger.Usage.GetConditionValueName(this)); return(name); }