Esempio n. 1
0
 public void RegisterType <TType>(TypeRegistration typeRegistration)
 {
     RegisterType(typeof(TType).GetTypeInfo(), typeRegistration);
 }
Esempio n. 2
0
 public void RegisterType(TypeInfo typeInfo, TypeRegistration typeRegistration)
 {
     _typeMap[typeInfo.AsType()] = typeRegistration;
 }