That can't be done in this instance because the T isn't know at compile time as the generic argument for a type, like it is in Hub<T>. The T is per method invocation.