Class SingletonAttribute

Namespace
Cratis.DependencyInjection
Assembly
Cratis.Fundamentals.dll

Attribute to adorn types for the IoC hookup to recognize it as a Singleton.

[AttributeUsage(AttributeTargets.Class)]
public sealed class SingletonAttribute : Attribute
Inheritance
SingletonAttribute
Inherited Members
Extension Methods

Constructors

SingletonAttribute()

public SingletonAttribute()