• The GetAllProducts method returns the entire list of products as an IEnumerable type.

    该控制器定义了三个方法,它们或者返回一个单一产品,或一个产品列表。

    youdao

  • We say "partially" because there are several scenarios where one would like to use an interface with a richer API than IEnumerable.

    我们之所以说“部分”,是因为在某些情况下,人们应一次性地使用某个具有丰富api的接口,而不是使用IEnumerable接口。

    youdao

  • However, for those scenarios we already encourage people to just take an IEnumerable and special case having the instance implementing ICollection too.

    然而,在这些场景下,我们已鼓励人们仅采用IEnumerable接口,而且对于拥有实现了ICollection接口的实例的特殊情况也是如此。

    youdao

  • The IEnumerable function will generally begin with a "Return Iterator" block, which is a special case of VB's new anonymous, multi-line function syntax.

    IEnumerabl的函数将通常以一个“ReturnIterator”代码块开始,它是VB新匿名函数、多行函数语法的一种特例。

    youdao

  • Theoretically, the IEnumerable interface could be used to add objects to a collection, but it can't be used in asynchronous operations because it blocks.

    理论上来说,IEnumerable接口可对集合添加对象,但是由于它的阻塞性所以不能在异步操作中进行。

    youdao

  • With the addition of IEnumerable support for directory and DirectoryInfo, the first file in the directory can be accessed immediately while the rest of the list is lazily populated.

    随着IEnumerable对Directory和DirectoryInfo的额外支持,在目录的第一个文件被即刻访问时,列表的其余文件则可以延迟生成。

    youdao

  • You can also use a foreach loop which will be compiled into a similar code leveraging the IEnumerable interface of the Items Collection. Here is now how the new loop is executed internally.

    你也能使用foreach循环语句,它会被编译为类似的代码,其充分利用了Items集合的IEnumerable接口。

    youdao

  • You can also use a foreach loop which will be compiled into a similar code leveraging the IEnumerable interface of the Items Collection. Here is now how the new loop is executed internally.

    你也能使用foreach循环语句,它会被编译为类似的代码,其充分利用了Items集合的IEnumerable接口。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定