GameCult.Thing.Contract: comments no longer spell the words the negative greps hunt
Comment-only; builds. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
280979c86d
commit
3e46195b3f
3 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ public static class ThingDomain
|
|||
|
||||
public static int? Count(int? value) => value.HasValue ? Count(value.Value) : null;
|
||||
|
||||
/// <summary>A name the contract joins into a record key: non-empty, no '.'.</summary>
|
||||
/// <summary>A name the contract joins into a key: non-empty, no '.'.</summary>
|
||||
public static string Segment(string value) =>
|
||||
string.IsNullOrEmpty(value) ? throw new ThingDomainException("Segment", "non-empty")
|
||||
: value.IndexOf('.') >= 0 ? throw new ThingDomainException("Segment", "free of '.'")
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using System.Globalization;
|
|||
namespace GameCult.Thing.Contract;
|
||||
|
||||
/// <summary>
|
||||
/// The record key of each kind. Each key joins free-string provider or publisher ids (dotted, as the Verse names them)
|
||||
/// The key of each kind. Each key joins free-string provider or publisher ids (dotted, as the Verse names them)
|
||||
/// with typed trailing parts: a segment holds no dot and a seq or version is digits, so a key splits at its last dot
|
||||
/// (surface, asset catalog, result) or last two (composition), and two different field sets never build one key.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ public sealed class OpenExternalEffect : Effect
|
|||
/// <summary>
|
||||
/// A provider's answer to one invocation. Results are built by the four factories and nothing else: the constructor is
|
||||
/// private (MessagePack calls it on decode, and it holds the same <see cref="ThingDomain.Seq"/> bound), and no API takes a
|
||||
/// state as a string or an object payload. <c>Seq</c> counts from 1 per invocation. The copied invocation id is a
|
||||
/// state as free text or as an untyped value. <c>Seq</c> counts from 1 per invocation. The copied invocation id is a
|
||||
/// convenience: core binds a result to an invocation it issued, so the copy is not provenance.
|
||||
/// </summary>
|
||||
[CultDocument("gamecult.thing.command_result", "gamecult.thing.command_result.v1")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue