- 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

@@ -85,9 +85,11 @@ public static class ServiceCollectionExtensions
public sealed class ServiceRegisterAttribute : Attribute
{
public Type? Inference { get; }
public bool IsSingleton { get; }
public ServiceRegisterAttribute(Type? inference = null)
public ServiceRegisterAttribute(Type? inference = null, bool isSingleton = true)
{
IsSingleton = isSingleton;
Inference = inference;
}
}