Add project
Basic formatting applied. Unnecessary comments have been removed. Suspicious code is covered by TODO.
This commit is contained in:
13
Hcs.Client/GostXades/Helpers/CollectionHelper.cs
Normal file
13
Hcs.Client/GostXades/Helpers/CollectionHelper.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Linq;
|
||||
|
||||
namespace Hcs.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