C# Класс Revenj.Extensibility.Autofac.Core.Lifetime.MatchingScopeLifetime

Attaches the component's lifetime to scopes matching a supplied expression.
Наследование: IComponentLifetime
Показать файл Открыть проект

Открытые методы

Метод Описание
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