public class A
{}public class B : A
{ }
public class Test<T> where T:A,new()
{}我在Test类中想根据T的类型暴漏不同的方法怎么做  怎么设计 谢谢