diff --git a/Needlework.Net/Needlework.Net.csproj b/Needlework.Net/Needlework.Net.csproj
index b18e993..1a7beb8 100644
--- a/Needlework.Net/Needlework.Net.csproj
+++ b/Needlework.Net/Needlework.Net.csproj
@@ -11,7 +11,7 @@
False
app.ico
NeedleworkDotNet
- 0.6.1.0
+ 0.7.0.0
$(AssemblyVersion)
False
@@ -27,7 +27,7 @@
-
+
diff --git a/Needlework.Net/ViewLocator.cs b/Needlework.Net/ViewLocator.cs
index 96e0e11..a4cfcaf 100644
--- a/Needlework.Net/ViewLocator.cs
+++ b/Needlework.Net/ViewLocator.cs
@@ -1,28 +1,40 @@
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using System;
+using System.Collections.Generic;
using System.ComponentModel;
namespace Needlework.Net
{
public class ViewLocator : IDataTemplate
{
- public Control? Build(object? param)
- {
- if (param is null) return new TextBlock { Text = "data was null" };
+ private readonly Dictionary