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
KeystringThe key scopes name in Group.
DisplayNamestringThe 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
Key
The key scopes name in Group.
public string Key { get; init; }
Property Value
Methods
TextKeyFor(string)
The text key a component resolves the heading of the group key under.
public static string TextKeyFor(string key)
Parameters
keystring