InternalServiceAttribute
- Namespace: Turian
- Source File: InternalServiceAttribute.cs
Attribute to annotate services for automatic registration in the Dependency Injection system (also called Inversion of Control).
Remarks
Initializes a new instance of the InternalServiceAttribute class.
Properties
Lifetime
(InternalServiceLifetime) = lifetime: Gets the service lifetime (e.g., Transient or Singleton).
ServiceType
(Type?) = serviceType: Gets the type of the service to be registered. If null, the decorated class type will be used.