public async Task PipelineSetAsync(Dictionary <string, T> pipelineSet) { await _collection.PipelineSetAsync( pipelineSet.ToDictionary(k => k.Key, v => Serialize(v.Value))); }