InternalServiceLifetime

  • Namespace: Turian
  • Source File: InternalServiceLifetime.cs

Specifies the service lifetime for a class in the DI container.

Enum Values

  • Transient: Specifies that a new instance of the service will be created each time it is requested. Like, each panel have a service underneath that will be created multiple times if necessary.
  • Singleton: Specifies that a single instance of the service will be created and shared among all requests.