Class AllScopesVisibleTeamScopeVisibilityProvider
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
Default ITeamScopeVisibilityProvider that makes every scope visible for every team. Registered unless a consumer supplies its own provider, keeping the visibility hook non-breaking.
public sealed class AllScopesVisibleTeamScopeVisibilityProvider : ITeamScopeVisibilityProvider
- Inheritance
-
AllScopesVisibleTeamScopeVisibilityProvider
- Implements
- Inherited Members
Methods
IsScopeVisibleAsync(string, string, CancellationToken)
Returns whether scope should be offered and shown for the team identified by
teamKey.
public Task<bool> IsScopeVisibleAsync(string teamKey, string scope, CancellationToken cancellationToken = default)
Parameters
teamKeystringscopestringcancellationTokenCancellationToken