You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Represents a config key component, which marks keys that should be
12
+
/// enumerated in (nested) subgroups for the <see cref="SettingsDataFeed">settings</see>.
13
+
/// </summary>
14
+
/// <remarks><para>
15
+
/// <see cref="LocaleString"/> keys for the subgroups are generated by appending the
16
+
/// subgroup's path up to that point to the parent <see cref="ConfigSection"/>'s
17
+
/// <see cref="ConfigSection.FullId">FullId</see>, all joined by periods (<c>.</c>).
18
+
/// </para><para>
19
+
/// This component can be added to multiple config keys, as it does not keep a reference to them.
20
+
/// </para></remarks>
21
+
publicclassConfigKeySubgroup:IConfigKeySubgroup
22
+
{
23
+
/// <inheritdoc/>
24
+
publicintPriority{get;}
25
+
26
+
/// <inheritdoc/>
27
+
publicSequence<string>SubgroupPath{get;}
28
+
29
+
/// <summary>
30
+
/// Creates a new <see cref="IConfigKeySubgroup"/> component, which marks keys that should be
31
+
/// enumerated in (nested) subgroups for the <see cref="SettingsDataFeed">settings</see>.
32
+
/// </summary>
33
+
/// <param name="priority">The priority of this subgroup. Higher comes first.</param>
34
+
/// <param name="path">The first segment of the subgroup path.</param>
35
+
/// <param name="subgroupPath">The further subgroup path elements.</param>
36
+
/// <exception cref="ArgumentException">When any subgroup path element is <see cref="string.IsNullOrWhiteSpace(string?)"><see langword="null"/> or whitespace</see>.</exception>
/// Gets the group keys for the outer container that the
28
+
/// nested <see cref="DataFeedGroup">subgroups</see> should be placed in.
29
+
/// </summary>
30
+
publicIReadOnlyList<string>BaseGroupKeys{get;}
31
+
32
+
/// <summary>
33
+
/// Gets the base <see cref="IIdentifiable">identifiable</see> that's used to
34
+
/// generate the <see cref="LocaleString"/>s for the subgroups.
35
+
/// </summary>
36
+
/// <remarks>
37
+
/// <see cref="LocaleString"/> keys for the subgroups are generated by appending the
38
+
/// subgroup's path up to that point to the this <see cref="IIdentifiable">identifiable</see>'s
39
+
/// <see cref="IIdentifiable.FullId">FullId</see>, all joined by periods (<c>.</c>).
40
+
/// </remarks>
41
+
publicIIdentifiableBaseIdentifiable{get;}
42
+
43
+
/// <summary>
44
+
/// Gets path of the items being enumerated.
45
+
/// </summary>
46
+
publicIReadOnlyList<string>Path{get;}
47
+
48
+
/// <summary>
49
+
/// Creates a new instance of this helper to generate nested <see cref="DataFeedGroup">subgroups</see>
50
+
/// for <see cref="ISubgroupedDataFeedItem">subgrouped data feed items</see>.
51
+
/// </summary>
52
+
/// <param name="baseIdentifiable">The base <see cref="IIdentifiable">identifiable</see> that's used to generate the <see cref="LocaleString"/>s for the subgroups.</param>
53
+
/// <param name="path">The path of the items being enumerated.</param>
54
+
/// <param name="groupKeys">The group keys for the outer container that the nested <see cref="DataFeedGroup">subgroups</see> should be placed in.</param>
0 commit comments