Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/Gemstone.Timeseries/ImmediateMeasurements.cs
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,18 @@ public void ClearMeasurementCache()
m_measurements.Clear();
}

/// <summary>
/// Determines whether the specified <see cref="MeasurementKey"/> exists in the current collection of immediate measurements.
/// </summary>
/// <param name="key">The <see cref="MeasurementKey"/> to locate in the collection.</param>
/// <returns>
/// <c>true</c> if the specified <see cref="MeasurementKey"/> exists in the collection; otherwise, <c>false</c>.
/// </returns>
public bool HasMeasurementID(MeasurementKey key)
{
return m_measurements?.ContainsKey(key) ?? false;
}

/// <summary>
/// Defines tagged measurements from a data table.
/// </summary>
Expand Down
Loading