I accept it is not possible as there is no way to get a reference to the unconstrained generic class.