Пример #1
0
 private static bool CancelPredicate(ScheduleEntry match, EventType eventType, object parameterValues)
 {
     return(match.EventType == eventType &&
            (parameterValues is null || (match.ParameterValues is not null && match.ParameterValues.Equals(parameterValues))));
 }