bool Matches(NativeDeviceInfo deviceInfo, NativeInputDeviceMatcher[] matchers) { if (Matchers != null) { var matchersCount = Matchers.Length; for (var i = 0; i < matchersCount; i++) { if (Matchers[i].Matches(deviceInfo)) { return(true); } } } return(false); }
private bool Matches(NativeDeviceInfo deviceInfo, NativeInputDeviceMatcher[] matchers) { if (Matchers != null) { int num = Matchers.Length; for (int i = 0; i < num; i++) { if (Matchers[i].Matches(deviceInfo)) { return(true); } } } return(false); }
internal bool LastResortMatches(NativeDeviceInfo deviceInfo) { return(Matches(deviceInfo, LastResortMatchers)); }
internal bool Matches(NativeDeviceInfo deviceInfo) { return(Matches(deviceInfo, Matchers)); }