/// <summary> /// Creates a new instance of the <see cref="PathBenchmarkBuilderAsSyntax"/> class. /// </summary> /// <param name="builder">The builder.</param> /// <param name="path">The path that the output should be written to.</param> public PathBenchmarkBuilderAsSyntax(IBenchmarkBuilderToSyntax builder, string path) { Ensure.ArgumentNotNull(builder, "builder"); Ensure.NotNullOrEmpty(path, "path"); this.builder = builder; this.path = path; }
/// <summary> /// Creates a new instance of the <see cref="TextGenerator"/> class. /// </summary> /// <param name="builder"></param> public TextGenerator(IBenchmarkBuilderToSyntax builder) { Ensure.NotNull(builder, "builder"); this.builder = builder; }