21 lines
472 B
C#
21 lines
472 B
C#
using SortingModel;
|
|
using SortingModel.SortingAlgorithms;
|
|
using TextSortWindow;
|
|
|
|
namespace TextSort
|
|
{
|
|
internal static class Program
|
|
{
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
ApplicationConfiguration.Initialize();
|
|
|
|
using Window view = new();
|
|
SortingService model = new(new SortingAlgorithmFactory());
|
|
SortController controller = new(view, model);
|
|
|
|
Application.Run(view);
|
|
}
|
|
}
|
|
} |