IntelligenceX

API Reference

Class

BankedResetInventoryStore

Namespace IntelligenceX.Telemetry.Limits
Assembly IntelligenceX
Modifiers sealed

Shared local reset inventory. Atomic replacement and an exclusive transaction lock prevent competing desktop surfaces from silently losing entries. Invalid data is surfaced, never overwritten as empty.

Inheritance

  • Object
  • BankedResetInventoryStore

Constructors

public BankedResetInventoryStore(String path = null) #

Uses a per-user shared file unless an explicit path is supplied for an isolated host or test.

Parameters

path System.String = null optionalposition: 0

Methods

public IReadOnlyList<BankedResetCredit> Load() #
Returns: IReadOnlyList<BankedResetCredit>

Loads a consistent inventory. IO and format failures remain visible to the caller.

public Void Remove(String providerId, String accountId, String id) #
Returns: Void

Removes only the exact scoped record, for correcting an entry rather than redeeming it.

Parameters

providerId System.String requiredposition: 0
accountId System.String requiredposition: 1
id System.String requiredposition: 2
public Void Save(BankedResetCredit credit) #
Returns: Void

Adds or updates one scoped record while preserving other accounts and concurrent changes.

Parameters

credit IntelligenceX.Telemetry.Limits.BankedResetCredit requiredposition: 0