using System; using System.Collections.Generic; using System.Text; namespace Wayne.Lib.StateEngine { /// <summary> /// Delegate that is used to match StateEngine events. /// </summary> /// <typeparam name="TCompareObject">Type of the input parameter</typeparam> /// <param name="stateEngineEvent">The event that should be evaluated</param> /// <param name="compareObject">The object that should be used in the comparison.</param> /// <returns>True if the stateengineevent matches the predicate, otherwise false.</returns> public delegate bool StateEngineEventPredicate<TCompareObject>(StateEngineEvent stateEngineEvent, TCompareObject compareObject); }