namespace Schaad.OpenData.Weather.Storage; public sealed class WeatherDataStore { private volatile WeatherSnapshot current = WeatherSnapshot.Empty; public WeatherSnapshot Current => current; public void Replace(WeatherSnapshot snapshot) => current = snapshot; }