public override ExpressionIntermediate GetOperatorResult() { ExpressionIntermediate intermediate = new ExpressionIntermediate(); intermediate.GetValueFunc = (IStateMachineOwner x) => { return(Left.GetValue(x)); }; return(intermediate); }
public bool GetExpressionResult(IStateMachineOwner owner) { if (m_CacheOperatorList.Count > 0) { throw new System.Exception("Express Unit is not enough"); } return(m_Result.GetValue(owner)); }