예제 #1
0
        static public IYieldInstruction WaitUntilAll(this object target, params ICondition[] conditions)
        {
            _WaitMultiCondition pWaiter = new _WaitMultiCondition();

            pWaiter._WaitAll(conditions);
            return(pWaiter);
        }
예제 #2
0
        static public IYieldInstruction WaitUntilAll(this object target, params Func <bool>[] conditionFuncs)
        {
            _WaitMultiCondition pWaiter = new _WaitMultiCondition();

            pWaiter._WaitAll(_FuncsToObjs(conditionFuncs));
            return(pWaiter);
        }