Table of Contents

Class ScopeGroup

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

A host-defined area that scopes are shown under, such as a product area. Defined with DefineGroup(string, string); the order groups are defined in is the order they are shown in.

public record ScopeGroup : IEquatable<ScopeGroup>
Inheritance
ScopeGroup
Implements
Inherited Members

Constructors

ScopeGroup(string, string)

A host-defined area that scopes are shown under, such as a product area. Defined with DefineGroup(string, string); the order groups are defined in is the order they are shown in.

public ScopeGroup(string Key, string DisplayName)

Parameters

Key string

The key scopes name in Group.

DisplayName string

The heading, in English. Components resolve it through the text provider under TextKeyFor(string), so a host can localise it.

Properties

DisplayName

The heading, in English. Components resolve it through the text provider under TextKeyFor(string), so a host can localise it.

public string DisplayName { get; init; }

Property Value

string

Key

The key scopes name in Group.

public string Key { get; init; }

Property Value

string

Methods

TextKeyFor(string)

The text key a component resolves the heading of the group key under.

public static string TextKeyFor(string key)

Parameters

key string

Returns

string