File size: 308 Bytes
7b715bc
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IntegrationTests.Utils
{
    internal static class Extensions
    {
        public static IEnumerable<T> EmptyIfNull<T>(this IEnumerable<T> en) =>
            en == null ? Enumerable.Empty<T>() : en;
    }
}