9 lines
179 B
C#
9 lines
179 B
C#
|
namespace Falcon.DI.Test
|
|||
|
{
|
|||
|
[FalconDIRegister(Lifetime = ServiceLifetime.Singleton)]
|
|||
|
class SingletonTest
|
|||
|
{
|
|||
|
public int Val { get; set; } = 0;
|
|||
|
}
|
|||
|
}
|