From 3282dd8f2d14351c5479d5a6202ae996ec3dbaa4 Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 26 Mar 2025 13:23:46 +0100 Subject: [PATCH] Version xon XML funcionando. Revisar si se estan encontrando todos los miembros --- App.xaml.cs | 4 +- MainWindow.xaml | 206 ++++------ Models/ExportSettings.cs | 5 +- Services/AppLogger.cs | 182 +++++++++ Services/DocumentationGenerator.cs | 416 +++++++++++++------- Services/XmlDocGenerator.cs | 604 +++++++++++++++++++++-------- ViewModels/LogViewModel.cs | 130 +++++++ ViewModels/MainViewModel.cs | 96 +++-- Views/LogView.xaml | 47 +++ Views/LogView.xaml.cs | 15 + 10 files changed, 1243 insertions(+), 462 deletions(-) create mode 100644 Services/AppLogger.cs create mode 100644 ViewModels/LogViewModel.cs create mode 100644 Views/LogView.xaml create mode 100644 Views/LogView.xaml.cs diff --git a/App.xaml.cs b/App.xaml.cs index d383d04..28aac9b 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -19,8 +19,8 @@ namespace NetDocsForLLM private void ConfigureServices(ServiceCollection services) { - // Register services - services.AddSingleton(); // Usar el generador XML + // Registramos el XmlDocGenerator sin dependencia de LogService + services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); diff --git a/MainWindow.xaml b/MainWindow.xaml index d275896..77132cd 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -1,37 +1,29 @@ - - + mc:Ignorable="d" Title="NetDocs para LLMs" Height="650" Width="800"> + - - - + + + - + + Foreground="#ecf0f1" FontSize="12" HorizontalAlignment="Center" Margin="0,5,0,0" /> @@ -40,54 +32,40 @@ - - - - + + + + -