Exemplo n.º 1
0
        bool IsFinalized(TInstance instance)
        {
            State <TInstance> currentState = this.GetState(instance).Result;

            return(Final.Equals(currentState));
        }
Exemplo n.º 2
0
        async Task <bool> IsFinalized(TInstance instance)
        {
            State <TInstance> currentState = await this.GetState(instance).ConfigureAwait(false);

            return(Final.Equals(currentState));
        }