private void RegisterTypeEntitiesAsClassEntities() { var typeEntities = typeEntityRegistrar.GetAllEntities(); foreach (var typeEntity in typeEntities) { if (!typeEntity.IsReferenced) { logger.LogWarning($"Skipped Type '{typeEntity.NamespaceQualifiedId}' because it is not referenced."); continue; } classEntityRegistrar.RegisterTypeEntity(typeEntity); } }
private void RegisterTypeEntitiesAsClassEntities() { var typeEntities = typeEntityRegistrar.GetAllEntities(); foreach (var typeEntity in typeEntities) { if (!typeEntity.IsReferenced) { logger.LogWarning("Skipped Type '{NamespaceQualifiedId}' because it is not referenced.", typeEntity.NamespaceQualifiedId); continue; } if (classEntityRegistrar.TryRegisterTypeEntity(typeEntity, out var classEntity)) { registeredClassEntityProcessor.Process(classEntity); } } }