removed other projects

This commit is contained in:
Matthias Heil
2026-04-05 10:13:12 +02:00
parent 149de07b0e
commit 90bca23d53
79 changed files with 31 additions and 1718 deletions
@@ -0,0 +1,9 @@
using Serilog.Sinks.LogView.Core.Logging;
namespace LogViewer.Avalonia.Extensions;
public class LogViewerControlViewModel(ILogDataStore dataStore) : ILogDataStoreCore
{
public ILogDataStore DataStore { get; set; } = dataStore;
}
@@ -1,10 +1,9 @@
using LogViewer.Core;
using LogViewer.Core.ViewModels;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog.Sinks.LogView.Core.Logging;
using LogDataStore = LogViewer.Avalonia.Logging.LogDataStore;
namespace LogViewer.Avalonia;
namespace LogViewer.Avalonia.Extensions;
public static class ServicesExtension
{
@@ -19,7 +19,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Core\LogViewer.Core\LogViewer.Core.csproj" />
<ProjectReference Include="..\..\Serilog.Sinks.LogView.Core\Serilog.Sinks.LogView.Core.csproj" />
</ItemGroup>
<ItemGroup>
@@ -1,7 +1,7 @@
using System.Collections.Specialized;
using Avalonia.Controls;
using Avalonia.LogicalTree;
using LogViewer.Core;
using Serilog.Sinks.LogView.Core.Logging;
namespace LogViewer.Avalonia;
@@ -1,12 +1,13 @@
using Avalonia.Threading;
using Serilog.Sinks.LogView.Core.Logging;
namespace LogViewer.Avalonia.Logging;
public class LogDataStore : Core.LogDataStore
public class LogDataStore : Serilog.Sinks.LogView.Core.Logging.LogDataStore
{
#region Methods
public override async void AddEntry(Core.LogModel logModel)
public override async void AddEntry(LogModel logModel)
=> await Dispatcher.UIThread.InvokeAsync(() => base.AddEntry(logModel));
#endregion