- shit: Cleanup this mess
This commit is contained in:
@@ -5,12 +5,12 @@ namespace Nebula.Launcher.ViewHelper;
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class ViewModelRegisterAttribute : Attribute
|
||||
{
|
||||
public Type? Type { get; }
|
||||
public bool IsSingleton { get; }
|
||||
|
||||
public ViewModelRegisterAttribute(Type? type = null, bool isSingleton = true)
|
||||
{
|
||||
Type = type;
|
||||
IsSingleton = isSingleton;
|
||||
}
|
||||
|
||||
public Type? Type { get; }
|
||||
public bool IsSingleton { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user