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

            return(name);
        }