WIP memory iconstorage

This commit is contained in:
dan_clark@outlook.com
2022-03-24 20:09:10 +00:00
parent 04df2d2ff6
commit 506161e4b9
14 changed files with 79 additions and 54 deletions
+13
View File
@@ -0,0 +1,13 @@
namespace TheXamlGuy.TaskbarGroup.Core
{
public static class Class1
{
public static void Test(Stream s)
{
using (FileStream outputFileStream = new(@"C:\Users\Daniel Clark\Pictures\trst.png", FileMode.Create))
{
s.CopyTo(outputFileStream);
}
}
}
}
@@ -0,0 +1,4 @@
namespace TheXamlGuy.TaskbarGroup.Core
{
public record IconStorage(string Path, Stream IconStream);
}
@@ -0,0 +1,12 @@
using System.Diagnostics;
namespace TheXamlGuy.TaskbarGroup.Core
{
public class IconStorageHandler : IMessageHandler<IconStorage>
{
public void Handle(IconStorage message)
{
Debug.WriteLine("Store icon");
}
}
}