API Reference
Class
BankedResetInventoryStore
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
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:
VoidRemoves only the exact scoped record, for correcting an entry rather than redeeming it.
Parameters
- providerId System.String
- accountId System.String
- id System.String
public Void Save(BankedResetCredit credit) #Returns:
VoidAdds or updates one scoped record while preserving other accounts and concurrent changes.
Parameters
- credit IntelligenceX.Telemetry.Limits.BankedResetCredit