C# 클래스 Revenj.Extensibility.Autofac.Core.Lifetime.MatchingScopeLifetime

Attaches the component's lifetime to scopes matching a supplied expression.
상속: IComponentLifetime
파일 보기 프로젝트 열기: ngs-doo/revenj

공개 메소드들

메소드 설명
FindScope ( ISharingLifetimeScope mostNestedVisibleScope ) : ISharingLifetimeScope

Given the most nested scope visible within the resolve operation, find the scope for the component.

MatchingScopeLifetime ( bool>.Expression matchExpression ) : System

Match scopes based on the provided expression.

MatchingScopeLifetime ( bool>.Func matchExpression ) : System

Match scopes based on the provided expression.

MatchingScopeLifetime ( object lifetimeScopeTagToMatch ) : System

Match scopes by comparing tags for equality.

메소드 상세

FindScope() 공개 메소드

Given the most nested scope visible within the resolve operation, find the scope for the component.
public FindScope ( ISharingLifetimeScope mostNestedVisibleScope ) : ISharingLifetimeScope
mostNestedVisibleScope ISharingLifetimeScope The most nested visible scope.
리턴 ISharingLifetimeScope

MatchingScopeLifetime() 공개 메소드

Match scopes based on the provided expression.
public MatchingScopeLifetime ( bool>.Expression matchExpression ) : System
matchExpression bool>.Expression Expression describing scopes that will match.
리턴 System

MatchingScopeLifetime() 공개 메소드

Match scopes based on the provided expression.
public MatchingScopeLifetime ( bool>.Func matchExpression ) : System
matchExpression bool>.Func Expression describing scopes that will match.
리턴 System

MatchingScopeLifetime() 공개 메소드

Match scopes by comparing tags for equality.
public MatchingScopeLifetime ( object lifetimeScopeTagToMatch ) : System
lifetimeScopeTagToMatch object The tag applied to matching scopes.
리턴 System