diff --git a/reqifviewer/Pages/DataTypeDefinition/DataTypeDefinitionDetailsPage.razor b/reqifviewer/Pages/DataTypeDefinition/DataTypeDefinitionDetailsPage.razor index 9c8781b..35572de 100644 --- a/reqifviewer/Pages/DataTypeDefinition/DataTypeDefinitionDetailsPage.razor +++ b/reqifviewer/Pages/DataTypeDefinition/DataTypeDefinitionDetailsPage.razor @@ -129,13 +129,13 @@ else @switch (attributeDefinition?.SpecType) { - case SpecObjectType specObjectType: + case SpecObjectType: @attributeDefinition?.SpecType?.LongName [SpecObject Type] break; - case SpecificationType specificationType: + case SpecificationType: @attributeDefinition?.SpecType?.LongName [Specification Type] break; - case SpecRelationType specRelationType: + case SpecRelationType: @attributeDefinition?.SpecType?.LongName [SpecRelation Type] break; } diff --git a/reqifviewer/Program.cs b/reqifviewer/Program.cs index 99b9703..3e168f4 100644 --- a/reqifviewer/Program.cs +++ b/reqifviewer/Program.cs @@ -89,9 +89,8 @@ public static async Task Main(string[] args) var logger = app.Services.GetService>(); var resourceLoader = app.Services.GetService(); - var logo = resourceLoader.QueryLogo(); logger.LogInformation("################################################################"); - logger.LogInformation(logo); + logger.LogInformation(resourceLoader.QueryLogo()); logger.LogInformation("################################################################"); app.UseStaticFiles();