Table of Contents

Class TeamServiceCompleteness

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Finds storage extension points a host has left un-overridden while granting what reaches them.

public static class TeamServiceCompleteness
Inheritance
TeamServiceCompleteness
Inherited Members

Remarks

The UserServiceCompleteness counterpart for teams. A storage base such as TeamServiceRepositoryBase overrides everything listed here, so a host on the built-in Mongo store reports nothing; the gaps only appear for a host extending TeamServiceBase directly.

Methods

Find(Type, bool)

The gaps in teamServiceType, filtered to what the host can actually reach.

public static IReadOnlyList<TeamServiceGap> Find(Type teamServiceType, bool teamsReadReachable)

Parameters

teamServiceType Type

The registered team service.

teamsReadReachable bool

Whether any caller can hold Read — through a system role, or a system API key. Without it nobody gets past the authorization check to cross-team listing, so that gap is not reported. The invitation lookup is reported regardless, since any invitation reaches it.

Returns

IReadOnlyList<TeamServiceGap>

Overrides(Type, string)

Whether any type between type and TeamServiceBase declares a member named member, any overload. Walking the chain matters: a host may extend an intermediate base of its own, and that base's override counts.

public static bool Overrides(Type type, string member)

Parameters

type Type
member string

Returns

bool