C# 클래스 Ninject.Extensions.ContextPreservation.ContextPreservingResolutionRoot.ContextPreservingRequest

IRequest decorator that returns the configured parent context and target.
상속: IRequest
파일 보기 프로젝트 열기: ninject/Ninject.Extensions.ContextPreservation

공개 메소드들

메소드 설명
ContextPreservingRequest ( IRequest originalRequest, IContext parentContext, ITarget originalTarget ) : System

Initializes a new instance of the ContextPreservingRequest class.

CreateChild ( Type service, IContext parentContext, ITarget target ) : IRequest

Creates a child.

GetScope ( ) : object

Gets the scope.

Matches ( IBinding binding ) : bool

Tests if the binding matched the given binding.

메소드 상세

ContextPreservingRequest() 공개 메소드

Initializes a new instance of the ContextPreservingRequest class.
public ContextPreservingRequest ( IRequest originalRequest, IContext parentContext, ITarget originalTarget ) : System
originalRequest IRequest The original request.
parentContext IContext The parent context.
originalTarget ITarget The original target.
리턴 System

CreateChild() 공개 메소드

Creates a child.
public CreateChild ( Type service, IContext parentContext, ITarget target ) : IRequest
service System.Type The service.
parentContext IContext The parent context.
target ITarget The target.
리턴 IRequest

GetScope() 공개 메소드

Gets the scope.
public GetScope ( ) : object
리턴 object

Matches() 공개 메소드

Tests if the binding matched the given binding.
public Matches ( IBinding binding ) : bool
binding IBinding The binding.
리턴 bool