C# 클래스 GSoft.Dynamite.DI.Unity.UnityPerRequestLifetimeManager

Pre-request lifetime manager. Only one instance of the class is used per HttpRequest.
상속: Microsoft.Practices.Unity.LifetimeManager, IDisposable
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposal removes the object from lifetime manager control

GetValue ( ) : object

Retrieve the lifetime manager controlled object

RemoveValue ( ) : void

Clear the lifetime manager controlled object

SetValue ( object newValue ) : void

Adds the object under lifetime manager control

보호된 메소드들

메소드 설명
Dispose ( bool cleanupManagedResources ) : void

Disposal removes the object from lifetime manager control

메소드 상세

Dispose() 공개 메소드

Disposal removes the object from lifetime manager control
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Disposal removes the object from lifetime manager control
protected Dispose ( bool cleanupManagedResources ) : void
cleanupManagedResources bool Whether both managed and native resources should be freed
리턴 void

GetValue() 공개 메소드

Retrieve the lifetime manager controlled object
public GetValue ( ) : object
리턴 object

RemoveValue() 공개 메소드

Clear the lifetime manager controlled object
public RemoveValue ( ) : void
리턴 void

SetValue() 공개 메소드

Adds the object under lifetime manager control
public SetValue ( object newValue ) : void
newValue object New value
리턴 void