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