- tweak: View autogenerator

This commit is contained in:
2025-07-02 21:32:51 +03:00
parent 9e95d68c4a
commit 517fadaab8
57 changed files with 316 additions and 286 deletions

View File

@@ -0,0 +1,8 @@
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;
}