ExpectedEvent.CheckAgainst C# (CSharp) Method

CheckAgainst() protected method

protected CheckAgainst ( float lastTime, EventHistory, actualEvent ) : bool
lastTime float
actualEvent EventHistory,
return bool
    protected virtual bool CheckAgainst(float lastTime, EventHistory actualEvent)
    {
        if(CommonChecks(actualEvent)) return false;
        if(CheckTimes(lastTime, actualEvent)) return false;
        if(CheckState(actualEvent)) return false;
        if(CheckOther(actualEvent)) return false;

        return true;
    }