- tweak: refactor funny

This commit is contained in:
2025-01-05 17:05:23 +03:00
parent 5b24f915a2
commit 8619e248fd
67 changed files with 485 additions and 492 deletions

View File

@@ -3,12 +3,12 @@ using System;
namespace Nebula.Launcher.ViewHelper;
[AttributeUsage(AttributeTargets.Class)]
public class ViewRegisterAttribute : Attribute
public class ViewModelRegisterAttribute : Attribute
{
public Type Type { get; }
public Type? Type { get; }
public bool IsSingleton { get; }
public ViewRegisterAttribute(Type type, bool isSingleton = true)
public ViewModelRegisterAttribute(Type? type = null, bool isSingleton = true)
{
Type = type;
IsSingleton = isSingleton;