diff --git a/Hyperbar.Windows/Views/WidgetView.xaml b/Hyperbar.Windows/Views/WidgetView.xaml index a1d793c..3ef7310 100644 --- a/Hyperbar.Windows/Views/WidgetView.xaml +++ b/Hyperbar.Windows/Views/WidgetView.xaml @@ -10,5 +10,10 @@ + + + + + \ No newline at end of file diff --git a/Hyperbar/Views/Created.cs b/Hyperbar/Views/Created.cs index 718532e..7a436cb 100644 --- a/Hyperbar/Views/Created.cs +++ b/Hyperbar/Views/Created.cs @@ -6,11 +6,4 @@ public record Created(TValue Value, object Target) : INotification { return new Created(value, typeof(TTarget).Name); } -} -public record Inserted(int Index, TValue Value, object Target) : INotification -{ - public static Inserted For(int index, TValue value) - { - return new Inserted(index, value, typeof(TTarget).Name); - } } \ No newline at end of file diff --git a/Hyperbar/Views/Inserted.cs b/Hyperbar/Views/Inserted.cs new file mode 100644 index 0000000..6c0de95 --- /dev/null +++ b/Hyperbar/Views/Inserted.cs @@ -0,0 +1,9 @@ +namespace Hyperbar; + +public record Inserted(int Index, TValue Value, object Target) : INotification +{ + public static Inserted For(int index, TValue value) + { + return new Inserted(index, value, typeof(TTarget).Name); + } +} \ No newline at end of file