- add: popup message
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user