WIP memory iconstorage
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user