Пример #1
0
 public T GetType <T>(string typeName)
     where T : INamedType
 {
     return(_types.GetType <T>(typeName));
 }
Пример #2
0
 public T GetType <T>(NameString typeName)
     where T : INamedType =>
 _types.GetType <T>(typeName.EnsureNotEmpty(nameof(typeName)));