Example #1
0
 public InfluxKey(string measurementName, IDictionary<string, object> tags)
 {
     MeasurementName = measurementName.Trim();
     _tags = tags == null ? new SortedDictionary<string, object>(StringComparer.Ordinal) : tags.ToValidatedSortable();
 }
 public WriteMessage(InfluxKey key, IDictionary<string, object> fields)
 {
     Key = key;
     _fields = fields == null ? new SortedDictionary<string, object>(StringComparer.Ordinal) : fields.ToValidatedSortable();
 }