Esempio n. 1
0
 public void Process(Type type, Registry graph)
 {
     if (type.IsConcrete() && type.BaseType.IsGenericType && type.BaseType.GetGenericTypeDefinition() == typeof(Extends <>))
     {
         var entityType = type.BaseType.GetGenericArguments()[0];
         ExtensionProperties.Register(entityType, type);
     }
 }