Exemple #1
0
 static public bool AreCurrentAndPastValuesEqual <T>(this GamepadEventHistory <T> item, ICollection <T> sequence)
 {
     return(item.AreCurrentAndPastValues(sequence, (e, o) => e.EqualsEX(o)));
 }
Exemple #2
0
 static public bool AreCurrentAndPastValues <T, J>(this GamepadEventHistory <T> item, IEnumerable <J> sequence, Relation <T, J> relation)
 {
     return(item.AreCurrentAndPastValues(sequence.ToList(), relation));
 }