mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-24 10:22:13 +01:00
Add WebSockets (#1423)
* Add WebSockets * Add tests * fix * more tests * Add tests * ... * remove IOwin * - * tests * fluent * ok * match * . * byte[] * x * func * func * byte * trans * ... * frameworks......... * jmes * xxx * sc
This commit is contained in:
21
src/WireMock.Net.Shared/Extensions/EnumerableExtensions.cs
Normal file
21
src/WireMock.Net.Shared/Extensions/EnumerableExtensions.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright © WireMock.Net
|
||||
|
||||
namespace System.Collections.Generic;
|
||||
|
||||
internal static class EnumerableExtensions
|
||||
{
|
||||
//internal static IEnumerable<T> ReverseEx<T>(this IEnumerable<T> source)
|
||||
//{
|
||||
// var stack = new Stack<T>();
|
||||
|
||||
// foreach (var item in source)
|
||||
// {
|
||||
// stack.Push(item);
|
||||
// }
|
||||
|
||||
// while (stack.Count > 0)
|
||||
// {
|
||||
// yield return stack.Pop();
|
||||
// }
|
||||
//}
|
||||
}
|
||||
Reference in New Issue
Block a user