NuGet.TypeHelper.GetGenericCollectionType C# (CSharp) Method

GetGenericCollectionType() public static method

public static GetGenericCollectionType ( Type type ) : Type
type System.Type
return System.Type
        public static Type GetGenericCollectionType(Type type)
        {
            return GetInterfaceType(type, typeof(ICollection<>));
        }