示例#1
0
        static public WaitMultiInstruction WaitUntilAll(this object target, params IYieldInstruction[] instructions)
        {
            WaitMultiInstruction pWaiter = new WaitMultiInstruction();

            pWaiter._WaitAll(instructions);
            return(pWaiter);
        }
示例#2
0
        static public WaitMultiInstruction WaitUntilNumOf(this object target, int nNum, params IYieldInstruction[] instructions)
        {
            WaitMultiInstruction pWaiter = new WaitMultiInstruction();

            pWaiter._WaitNumOf(nNum, instructions);
            return(pWaiter);
        }
示例#3
0
        static public WaitMultiInstruction WaitUntilOneOf(this object target, params IYieldInstruction[] conditions)
        {
            WaitMultiInstruction pWaiter = new WaitMultiInstruction();

            pWaiter._WaitOneOf(conditions);
            return(pWaiter);
        }