Skip to content

Commit fb26dbf

Browse files
committed
update API with interface assembly
1 parent 9ca7fe4 commit fb26dbf

File tree

2 files changed

+12
-47
lines changed

2 files changed

+12
-47
lines changed

Analogy.LogViewer.WindowsEventLogs/Analogy.LogViewer.WindowsEventLogs.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<PackageProjectUrl>https://github.com/Analogy-LogViewer/Analogy.LogViewer.WindowsEventLogs</PackageProjectUrl>
1515
<RepositoryUrl>https://github.com/Analogy-LogViewer/Analogy.LogViewer.WindowsEventLogs</RepositoryUrl>
1616
<RepositoryType>git</RepositoryType>
17-
<PackageReleaseNotes>Initial POC</PackageReleaseNotes>
17+
<PackageReleaseNotes>update API with interface assembly</PackageReleaseNotes>
1818
<PackageIcon>AnalogyWindows.png</PackageIcon>
1919
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
20-
<Version>1.0.3</Version>
20+
<Version>1.0.4</Version>
2121
<Company>Analogy.LogViewer</Company>
2222
</PropertyGroup>
2323

Lines changed: 10 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,20 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Drawing;
4-
using System.Linq;
5-
using System.Text;
6-
using System.Threading.Tasks;
7-
using Analogy.DataProviders.Extensions;
1+
using Analogy.DataProviders.Extensions;
82
using Analogy.LogViewer.WindowsEventLogs.Properties;
3+
using System;
4+
using System.Drawing;
95

106
namespace Analogy.LogViewer.WindowsEventLogs.IAnalogy
117
{
12-
public class ImagesContainer : IAnalogyComponentImages
8+
public class ImagesContainer : IAnalogyComponentImages
139
{
14-
public IEnumerable<DataProviderImages> GetDataProviderImages()
15-
{
16-
yield return new DataProviderImages(EventLogDataFactory.id, Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32);
17-
yield return new DataProviderImages(new Guid("17C93A69-2D7D-4620-9289-6889DE4EFC79"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32);
18-
yield return new DataProviderImages(new Guid("27C93A69-2D7D-4620-9289-6889DE4EFC80"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32);
19-
yield return new DataProviderImages(new Guid("37C93A69-2D7D-4620-9289-6889DE4EFC80"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32);
20-
yield return new DataProviderImages(new Guid("47C93A69-2D7D-4620-9289-6889DE4EFC80"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32);
21-
yield return new DataProviderImages(new Guid("465F4963-71F3-4E50-8253-FA286BF5692B"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32);
22-
yield return new DataProviderImages(new Guid("407C8AD7-E7A3-4B36-9221-BB5D48E78766"), Resources.OperatingSystem_16x16, Resources.OperatingSystem_32x32);
23-
}
24-
25-
public Image GetLargeImage(Guid analogyComponentId)
26-
{
27-
throw new NotImplementedException();
28-
}
29-
30-
public Image GetSmallImage(Guid analogyComponentId)
31-
{
32-
throw new NotImplementedException();
33-
}
34-
35-
public Image GetOnlineConnectedLargeImage(Guid analogyComponentId)
36-
{
37-
throw new NotImplementedException();
38-
}
10+
public Image GetLargeImage(Guid analogyComponentId) => Resources.OperatingSystem_32x32;
3911

40-
public Image GetOnlineConnectedSmallImage(Guid analogyComponentId)
41-
{
42-
throw new NotImplementedException();
43-
}
12+
public Image GetSmallImage(Guid analogyComponentId) => Resources.OperatingSystem_16x16;
4413

45-
public Image GetOnlineDisconnectedLargeImage(Guid analogyComponentId)
46-
{
47-
throw new NotImplementedException();
48-
}
14+
public Image GetOnlineConnectedLargeImage(Guid analogyComponentId) => Resources.OperatingSystem_32x32;
4915

50-
public Image GetOnlineDisconnectedSmallImage(Guid analogyComponentId)
51-
{
52-
throw new NotImplementedException();
53-
}
16+
public Image GetOnlineConnectedSmallImage(Guid analogyComponentId) => Resources.OperatingSystem_16x16;
17+
public Image GetOnlineDisconnectedLargeImage(Guid analogyComponentId) => Resources.OperatingSystem_32x32;
18+
public Image GetOnlineDisconnectedSmallImage(Guid analogyComponentId) => Resources.OperatingSystem_16x16;
5419
}
5520
}

0 commit comments

Comments
 (0)