21 lines
441 B
C#
21 lines
441 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameModel.UnitTests.Helper
|
|
{
|
|
public static class IEnumerableExtension
|
|
{
|
|
public static IEnumerable AsWeakEnumerable(this IEnumerable source)
|
|
{
|
|
foreach (object o in source)
|
|
{
|
|
yield return o;
|
|
}
|
|
}
|
|
}
|
|
}
|