Strip doc comments from the Caching projects
Every /// line in GameCult.Caching and GameCult.Caching.MessagePack goes; they restated member names. Three blocks that state a rule stay as // comments: MaterializeMissingGlobals runs after hydration so persisted globals win, ExecuteTransactionAsync commits durably before the cache and observers advance, and CommitBatch implementations restore their staged view on failure. Both projects add NoWarn CS1591, since GenerateDocumentationFile is on in src/Directory.Build.props. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
360dd0ae2f
commit
60cbfdde6d
10 changed files with 7 additions and 717 deletions
|
|
@ -7,35 +7,17 @@ using R3;
|
|||
|
||||
namespace GameCult.Caching
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes how a CultCache-managed document changed.
|
||||
/// </summary>
|
||||
public enum CultCacheDocumentChangeKind
|
||||
{
|
||||
/// <summary>
|
||||
/// A document was added.
|
||||
/// </summary>
|
||||
Added,
|
||||
|
||||
/// <summary>
|
||||
/// A document was updated.
|
||||
/// </summary>
|
||||
Updated,
|
||||
|
||||
/// <summary>
|
||||
/// A document was removed.
|
||||
/// </summary>
|
||||
Removed
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// One reactive CultCache document change.
|
||||
/// </summary>
|
||||
public sealed class CultCacheDocumentChange<T> where T : class
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a document change.
|
||||
/// </summary>
|
||||
public CultCacheDocumentChange(
|
||||
CultCacheDocumentChangeKind kind,
|
||||
CultRecordKey key,
|
||||
|
|
@ -48,24 +30,12 @@ namespace GameCult.Caching
|
|||
PreviousDocument = previousDocument;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the change kind.
|
||||
/// </summary>
|
||||
public CultCacheDocumentChangeKind Kind { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the document record key.
|
||||
/// </summary>
|
||||
public CultRecordKey Key { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current POCO presentation, when present.
|
||||
/// </summary>
|
||||
public T? Document { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the previous POCO presentation, when present.
|
||||
/// </summary>
|
||||
public T? PreviousDocument { get; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue