C# 클래스 Stashbox.Lifetime.Lifetimes

Contains all the built-in lifetime managers.
파일 보기 프로젝트 열기: z4kn4fein/stashbox

공개 프로퍼티들

프로퍼티 타입 설명
PerScopedRequest Stashbox.Lifetime.LifetimeDescriptor
Scoped Stashbox.Lifetime.LifetimeDescriptor
Singleton Stashbox.Lifetime.LifetimeDescriptor
Transient LifetimeDescriptor

공개 메소드들

메소드 설명
NamedScope ( object name ) : Stashbox.Lifetime.LifetimeDescriptor

Produces a NamedScope lifetime.

메소드 상세

NamedScope() 공개 정적인 메소드

Produces a NamedScope lifetime.
public static NamedScope ( object name ) : Stashbox.Lifetime.LifetimeDescriptor
name object
리턴 Stashbox.Lifetime.LifetimeDescriptor

프로퍼티 상세

PerScopedRequest 공개적으로 정적으로 프로퍼티

PerRequest lifetime.
public static LifetimeDescriptor,Stashbox.Lifetime PerScopedRequest
리턴 Stashbox.Lifetime.LifetimeDescriptor

Scoped 공개적으로 정적으로 프로퍼티

Scoped lifetime.
public static LifetimeDescriptor,Stashbox.Lifetime Scoped
리턴 Stashbox.Lifetime.LifetimeDescriptor

Singleton 공개적으로 정적으로 프로퍼티

Singleton lifetime.
public static LifetimeDescriptor,Stashbox.Lifetime Singleton
리턴 Stashbox.Lifetime.LifetimeDescriptor

Transient 공개적으로 정적으로 프로퍼티

Transient lifetime.
public static LifetimeDescriptor Transient
리턴 LifetimeDescriptor