Add migrated to .NET 8.0 variant of Hcs.Client
This commit is contained in:
13
Hcs.ClientNet/GostXades/Helpers/CollectionHelper.cs
Normal file
13
Hcs.ClientNet/GostXades/Helpers/CollectionHelper.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Linq;
|
||||
|
||||
namespace GostXades.Helpers
|
||||
{
|
||||
public static class CollectionHelper
|
||||
{
|
||||
public static bool IsNotEmpty(this IEnumerable enumerable)
|
||||
{
|
||||
return enumerable != null && enumerable.OfType<object>().Any();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user