- add: popup message

This commit is contained in:
2024-12-26 18:54:37 +03:00
parent a389dd5481
commit 516801840c
14 changed files with 367 additions and 70 deletions

View File

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