C# Class Revenj.Extensibility.Autofac.Core.Lifetime.MatchingScopeLifetime

Attaches the component's lifetime to scopes matching a supplied expression.
Inheritance: IComponentLifetime
Afficher le fichier Open project: ngs-doo/revenj

Méthodes publiques

Méthode Description
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.

Method Details

FindScope() public méthode

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.
Résultat ISharingLifetimeScope

MatchingScopeLifetime() public méthode

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

MatchingScopeLifetime() public méthode

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

MatchingScopeLifetime() public méthode

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