public Recorder( Metric.Client.StatsdPipe pipe, string keyPrefix = null, string keySuffix = null) { this.c_pipe = pipe; this.c_keyPrefix = keyPrefix; this.c_keySuffix = keySuffix; if (!string.IsNullOrWhiteSpace(this.c_keyPrefix)) { this.c_keyPrefix += "."; } if (!string.IsNullOrWhiteSpace(this.c_keySuffix)) { this.c_keySuffix = "." + this.c_keySuffix; } }
public Recorder( Metric.Client.StatsdPipe pipe, string keyPrefix = null, string keySuffix = null) { this.c_pipe = pipe; this.c_keyPrefix = keyPrefix; this.c_keySuffix = keySuffix; if (!string.IsNullOrWhiteSpace(this.c_keyPrefix)) { this.c_keyPrefix += "."; } if (!string.IsNullOrWhiteSpace(this.c_keySuffix)) { this.c_keySuffix = "." + this.c_keySuffix; } }