RegisterServiceAttribute.Lifetime property

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Gets lifetime, which is transient by default

public ServiceLifetime Lifetime { get; protected set; }

See Also