Open
Description
The idea of any singleton to be immutable if it serves an idea of a constant value, but unfortunately, it doesn't apply to Metric
exposing values as a HashSet<string>
:
A potential solution is to use an immutable collection or IReadOnlySet
interface which limits mutability, but that can be allowed through methods added to Metrics
.