/// <inheritdoc/>
        public IBenchmarkBuilderInSyntax<ISingleBenchmarkBuilderContinuation> Value()
        {
            var metric = new SingleValueMetric("single", data => data.Single()) { Samples = samples };
            metrics.Add(metric);

            return new BenchmarkBuilderInSyntax<ISingleBenchmarkBuilderContinuation>(metric, this);
        }
            /// <inheritdoc/>
            public void Visit(SingleValueMetric metric)
            {
                Ensure.ArgumentNotNull(metric, "metric");

                string result = SingleValueFormatter.Output(metric.Name, metric.UnitOfMeasurement, metric.GetValue());
                writer.WriteLine(result);
            }
            /// <inheritdoc/>
            public void Visit(SingleValueMetric metric)
            {
                Ensure.ArgumentNotNull(metric, "metric");

                string output = Format(metric.GetValue(), metric.UnitOfMeasurement);
                writer.WriteElementString(metric.Name, output);
            }
        /// <inheritdoc/>
        public IBenchmarkBuilderInSyntax<ISingleBenchmarkBuilderContinuation> Value(string value = null)
        {
            value = value ?? "value";

            var metric = new SingleValueMetric(value, data => data.Single()) { Samples = samples };
            metrics.Add(metric);

            return new BenchmarkBuilderInSyntax<ISingleBenchmarkBuilderContinuation>(metric, this);
        }