Add project files.

This commit is contained in:
2025-07-06 17:36:00 +02:00
parent 57be803688
commit 9e7a75b8c3
17 changed files with 426 additions and 0 deletions

View File

@ -0,0 +1,18 @@
using System;
namespace WinGreedWPF.StartupHelpers;
public class AbstractFactory<T> : IAbstractFactory<T>
{
private readonly Func<T> _factory;
public AbstractFactory(Func<T> factory)
{
_factory = factory;
}
public T Create()
{
return _factory();
}
}