Skip to content

Commit 8819e5f

Browse files
committed
update nugets
1 parent dd1ab91 commit 8819e5f

File tree

9 files changed

+31
-21
lines changed

9 files changed

+31
-21
lines changed

Analogy.LogViewer.Serilog.Sinks.MongoDB/Analogy.LogViewer.Serilog.Sinks.MongoDB.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515

1616
<ItemGroup>
17-
<PackageReference Include="Analogy.CommonUtilities" Version="9.0.2" />
18-
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="9.0.1" />
19-
<PackageReference Include="Analogy.LogViewer.Template" Version="9.0.2" />
17+
<PackageReference Include="Analogy.CommonUtilities" Version="9.0.3" />
18+
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="9.0.2" />
19+
<PackageReference Include="Analogy.LogViewer.Template" Version="9.0.3" />
2020
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
2121
<PackageReference Include="Serilog" Version="4.3.0" />
2222
<PackageReference Include="System.Resources.Extensions" Version="10.0.0" />

Analogy.LogViewer.Serilog.UnitTests/Analogy.LogViewer.Serilog.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="9.0.1" />
11+
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="9.0.2" />
1212
<PackageReference Include="System.Resources.Extensions" Version="10.0.0" />
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1414
<PackageReference Include="MSTest.TestAdapter" Version="4.0.2" />

Analogy.LogViewer.Serilog.WinForms/Analogy.LogViewer.Serilog.WinForms.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
</PropertyGroup>
2424

2525
<ItemGroup>
26-
<PackageReference Include="Analogy.CommonUtilities" Version="9.0.2" />
27-
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="9.0.1" />
28-
<PackageReference Include="Analogy.LogViewer.Interfaces.Winforms" Version="9.0.1" />
29-
<PackageReference Include="Analogy.LogViewer.Template" Version="9.0.2" />
30-
<PackageReference Include="Analogy.LogViewer.Template.WinForms" Version="9.0.2" />
26+
<PackageReference Include="Analogy.CommonUtilities" Version="9.0.3" />
27+
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="9.0.2" />
28+
<PackageReference Include="Analogy.LogViewer.Interfaces.Winforms" Version="9.0.3" />
29+
<PackageReference Include="Analogy.LogViewer.Template" Version="9.0.3" />
30+
<PackageReference Include="Analogy.LogViewer.Template.WinForms" Version="9.0.3" />
3131
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
3232
<PackageReference Include="Serilog" Version="4.3.0" />
3333
<PackageReference Include="System.Resources.Extensions" Version="10.0.0" />
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
using Analogy.Interfaces.WinForms;
1+
using Analogy.Interfaces;
22
using Analogy.Interfaces.WinForms.Factories;
33
using Analogy.LogViewer.Serilog.IAnalogy;
4+
using Analogy.LogViewer.Serilog.WinForms.Properties;
45
using System;
56
using System.Collections.Generic;
7+
using System.Drawing;
68

79
namespace Analogy.LogViewer.Serilog.WinForms
810
{
@@ -11,6 +13,8 @@ public class SerilogDataProvidersFactoryWinForms : SerilogDataProvidersFactory,
1113
public override Guid FactoryId { get; set; } = SerilogPrimaryFactory.Id;
1214
public override string Title { get; set; } = "Serilog Parser";
1315

14-
public new IEnumerable<IAnalogyDataProviderWinForms> DataProviders { get; set; } = new List<IAnalogyDataProviderWinForms> { new SerilogOfflineDataProviderWinForms() };
16+
public override IEnumerable<IAnalogyDataProvider> DataProviders { get; set; } = new List<IAnalogyDataProvider> { new SerilogOfflineDataProviderWinForms() };
17+
public Image? GetDataFactorySmallImage(Guid componentId) => Resources.AnalogySerilog16x16;
18+
public Image? GetDataFacoryLargeImage(Guid componentId) => Resources.AnalogySerilog32x32;
1519
}
1620
}

Analogy.LogViewer.Serilog.WinForms/IAnalogy/SerilogOfflineDataProviderWinForms.cs

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
using Analogy.LogViewer.Serilog.DataTypes;
66
using Analogy.LogViewer.Serilog.IAnalogy;
77
using Analogy.LogViewer.Serilog.Managers;
8+
using Analogy.LogViewer.Serilog.WinForms.Properties;
89
using Analogy.LogViewer.Template.WinForms;
9-
using Analogy.LogViewer.Template.WinForms.Properties;
1010
using Microsoft.Extensions.Logging;
1111
using Newtonsoft.Json;
1212
using System;
@@ -23,9 +23,15 @@ namespace Analogy.LogViewer.Serilog.WinForms
2323
{
2424
public class SerilogOfflineDataProviderWinForms : SerilogOfflineDataProvider, IAnalogyOfflineDataProviderWinForms
2525
{
26-
public Image LargeImage { get; set; } = Resources.Analogy32x32;
27-
public Image SmallImage { get; set; } = Resources.Analogy32x32;
28-
29-
public AnalogyToolTipWinForms? ToolTip { get; set; }
26+
public virtual Image LargeImage { get; set; } = Resources.AnalogySerilog32x32;
27+
public virtual Image SmallImage { get; set; } = Resources.AnalogySerilog16x16;
28+
29+
public virtual Image? GetDataProviderSmallImage() => SmallImage;
30+
31+
public virtual Image? GetDataProviderLargeImage() => LargeImage;
32+
33+
public virtual Image? GetDataProviderToolTipSmallImage() => SmallImage;
34+
35+
public virtual Image? GetDataProviderToolTipLargeImage() => LargeImage;
3036
}
3137
}

Analogy.LogViewer.Serilog.WinForms/IAnalogy/SerilogPrimaryFactoryWinForms.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Analogy.Interfaces;
22
using Analogy.Interfaces.WinForms.Factories;
33
using Analogy.LogViewer.Serilog.IAnalogy;
4-
using Analogy.LogViewer.Serilog.Properties;
4+
using Analogy.LogViewer.Serilog.WinForms.Properties;
55
using System;
66
using System.Collections.Generic;
77
using System.Drawing;

Analogy.LogViewer.Serilog.WinForms/IAnalogy/SerilogUserSettingsFactoryWinForms.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Analogy.LogViewer.Serilog.IAnalogy;
2-
using Analogy.LogViewer.Serilog.Properties;
2+
using Analogy.LogViewer.Serilog.WinForms.Properties;
33
using Analogy.LogViewer.Template.WinForms;
44
using Microsoft.Extensions.Logging;
55
using System;

Analogy.LogViewer.Serilog.WinForms/Properties/Resources.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Analogy.LogViewer.Serilog.WinForms/SerilogUCSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Analogy.LogViewer.Serilog.DataTypes;
22
using Analogy.LogViewer.Serilog.Managers;
3-
using Analogy.LogViewer.Serilog.Properties;
3+
using Analogy.LogViewer.Serilog.WinForms.Properties;
44
using Newtonsoft.Json;
55
using System;
66
using System.Collections.Generic;

0 commit comments

Comments
 (0)