EventCheckPredicate.cs 625 B

1234567891011
  1. namespace Wayne.Lib.StateEngine
  2. {
  3. /// <summary>
  4. /// Delegate that is used to match StateEngine events.
  5. /// </summary>
  6. /// <typeparam name="TCompareObject">Type of the input parameter</typeparam>
  7. /// <param name="stateEngineEvent">The event that should be evaluated</param>
  8. /// <param name="compareObject">The object that should be used in the comparison.</param>
  9. /// <returns>True if the stateengineevent matches the predicate, otherwise false.</returns>
  10. public delegate bool StateEngineEventPredicate<TCompareObject>(StateEngineEvent stateEngineEvent, TCompareObject compareObject);
  11. }