You can make a generic razor panel class by using the
@typeparam to define the name of the parameter.
You will then be able to use this like a regular generics class in c#, like
In Razor you will need to add a
T attribute to define the type.