Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Claudio Schaad <c.schaad@pog.ch> Co-committed-by: Claudio Schaad <c.schaad@pog.ch>
10 lines
295 B
C#
10 lines
295 B
C#
namespace Schaad.OpenData.Watercraft.Storage;
|
|
|
|
public sealed class WatercraftDataStore
|
|
{
|
|
private volatile WatercraftSnapshot current = WatercraftSnapshot.Empty;
|
|
|
|
public WatercraftSnapshot Current => current;
|
|
|
|
public void Replace(WatercraftSnapshot snapshot) => current = snapshot;
|
|
}
|