1 write to modified
Microsoft.AspNetCore.Components.Performance (1)
RenderTreeDiffBuilderBenchmark.cs (1)
51
modified
= new RenderTreeBuilder();
21 references to modified
Microsoft.AspNetCore.Components.Performance (21)
RenderTreeDiffBuilderBenchmark.cs (21)
52
modified
.OpenElement(0, "div");
53
modified
.AddAttribute(1, "class", "form-group");
55
modified
.OpenElement(2, "label");
56
modified
.AddAttribute(3, "class", "control-label");
57
modified
.AddAttribute(4, "for", "name");
58
modified
.AddAttribute(5, "data-unvalidated", false);
59
modified
.AddContent(6, "Car");
60
modified
.CloseElement();
62
modified
.OpenElement(7, "input");
63
modified
.AddAttribute(8, "class", "form-control");
64
modified
.AddAttribute(9, "type", "text");
65
modified
.AddAttribute(10, "name", "name");
66
modified
.AddAttribute(11, "data-validation-state", "invalid");
67
modified
.AddAttribute(12, "value", "Lamborghini");
68
modified
.CloseElement();
70
modified
.OpenElement(13, "span");
71
modified
.AddAttribute(14, "class", "text-danger field-validation-invalid"); // changed
72
modified
.AddContent(15, "No, you can't afford that.");
73
modified
.CloseElement();
75
modified
.CloseElement();
82
var diff = RenderTreeDiffBuilder.ComputeDiff(renderer, builder, 0,
modified
.GetFrames(), original.GetFrames());