Inheritance: Behavior
示例#1
0
 public static IfEqual Instance(int key, int value, Behavior result, Behavior no = null)
 {
     var k = new Tuple<int, int, Behavior, Behavior>(key, value, result, no);
     IfEqual ret;
     if (!instances.TryGetValue(k, out ret))
         ret = instances[k] = new IfEqual(key, value, result, no);
     return ret;
 }
示例#2
0
 new RunBehaviors(
      IfEqual.Instance(-1, 1,