register<T> static method

void register<T>(
  1. TypeDescriptor<T> typeDescriptor
)

Implementation

static void register<T>(TypeDescriptor<T> typeDescriptor) {
  _byType[typeDescriptor.type] = typeDescriptor;
  _byName[typeDescriptor.location] = typeDescriptor;
}