as<T> method

Implementation

RegistrationBuilder as<T>() {
  return asType(T);
}