Files
NebulaLauncher/Nebula.Shared/ViewHelper/ViewModelRegisterAttribute.cs

8 lines
268 B
C#
Raw Normal View History

2025-07-02 21:32:51 +03:00
namespace Nebula.Shared.ViewHelper;
[AttributeUsage(AttributeTargets.Class)]
public class ViewModelRegisterAttribute(Type? type = null, bool isSingleton = true) : Attribute
{
public Type? Type { get; } = type;
public bool IsSingleton { get; } = isSingleton;
}