This file provides a static extension method for the Type class. The method creates a generic type representation of a List containing the specified type.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using HumanoidRetargeter.EditorTools.Embedded.Datamodel.Codecs;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Security;
using System.Numerics;
using CodecRegistration = System.Tuple<string, int>;
using System.Reflection;
namespace HumanoidRetargeter.EditorTools.Embedded.Datamodel;
static class Extensions
{
public static Type MakeListType(this Type t)
{
return typeof(List<>).MakeGenericType(t);
}
}