public static void AddHistorySample(HistorySample historySample) { lock (_historyLock) { _history.Add(historySample); } }