Skip to content

RegisterServiceAttribute.Lifetime property

Gets the lifetime, which is transient by default.

public ServiceLifetime Lifetime { get; protected set; }

See Also