block of argument
常見(jiàn)例句
- Think of a closure as a code block that you can use as an argument, with special scoping rules.
閉包可被視作一個(gè)遵循特別作用域規(guī)則且可以用作參數(shù)的代碼塊。 - The new method is created with the selected block of code in it refactored to properly use the argument and return values of the new method.
當(dāng)重構(gòu)了新方法內(nèi)的所選代碼塊以便恰當(dāng)使用新方法的參數(shù)和返回類(lèi)型后,新方法就創(chuàng)建完成了。 - Superficially the code changes are minor; rather than having a block of code following the "for" line, the code is passed as an argument to the "Parallel.For" function.
最直觀的反應(yīng)就是代碼只需作細(xì)微的修改;在“for”語(yǔ)句內(nèi)的代碼塊,可以作為參數(shù)傳遞到“Parallel.For”函數(shù)中。 返回 block of argument