|
@@ -2,24 +2,22 @@
|
|
|
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
|
|
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
|
|
|
// See the LICENSE file in the project root for more information.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
-using System.Security;
|
|
|
|
|
-
|
|
|
|
|
namespace System.Linq
|
|
namespace System.Linq
|
|
|
{
|
|
{
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Interface for yielding elements to enumerator.
|
|
|
|
|
|
|
+ /// Interface for yielding elements to enumerator.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <typeparam name="T">Type of the elements yielded to an enumerator.</typeparam>
|
|
/// <typeparam name="T">Type of the elements yielded to an enumerator.</typeparam>
|
|
|
public interface IYielder<in T>
|
|
public interface IYielder<in T>
|
|
|
{
|
|
{
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Stops the enumeration.
|
|
|
|
|
|
|
+ /// Stops the enumeration.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <returns>Awaitable object for use in an asynchronous method.</returns>
|
|
/// <returns>Awaitable object for use in an asynchronous method.</returns>
|
|
|
IAwaitable Break();
|
|
IAwaitable Break();
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
- /// Yields a value to the enumerator.
|
|
|
|
|
|
|
+ /// Yields a value to the enumerator.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <param name="value">Value to yield return.</param>
|
|
/// <param name="value">Value to yield return.</param>
|
|
|
/// <returns>Awaitable object for use in an asynchronous method.</returns>
|
|
/// <returns>Awaitable object for use in an asynchronous method.</returns>
|