internal File(string path, bool computed, ComputedString outputDirectory, ComputedString outputName) { this.Path = path; this.Computed = computed; this.OutputDirectory = outputDirectory; this.OutputName = outputName; }
public void Can_compute_string_from_self_referenced_properties() { var instance = new Foo(); instance.Bar = "Fizz"; instance.Baz = "Buzz"; var actual = ComputedString.Compute(instance, "{{Bar}}{{Baz}}"); Assert.Equal("FizzBuzz", actual); }