27 references to AddAttribute
Aspire.Dashboard (2)
Components\Controls\Grid\AspireFluentDataGridHeaderCell.razor.cs (2)
82
builder.
AddAttribute
(1, nameof(AspireFluentDataGridHeaderCell<T>.Column), value);
83
builder.
AddAttribute
(2, nameof(AspireFluentDataGridHeaderCell<T>.Grid), grid);
Microsoft.AspNetCore.Components (1)
Rendering\RenderTreeBuilder.cs (1)
452
AddAttribute
(sequence, attribute.Key, attribute.Value);
Microsoft.AspNetCore.Components.Tests (22)
RendererTest.cs (2)
3275
builder.
AddAttribute
(1, "parent elem attr", attrValue);
5351
builder.
AddAttribute
(6, "onarbitrarydelegateevent", OnArbitraryDelegateEvent);
Rendering\RenderTreeBuilderTest.cs (20)
240
builder.
AddAttribute
(0, "attribute2", 123); // 2: attribute2=intExpression123>
718
builder.
AddAttribute
(1, "attribute2", 123); // 1: attribute2=intExpression123>
1374
builder.
AddAttribute
(1, "attr", (object)true);
1392
builder.
AddAttribute
(1, "attr", (object)false);
1411
builder.
AddAttribute
(1, "attr", (object)value);
1429
builder.
AddAttribute
(1, "attr", (object)"hi");
1447
builder.
AddAttribute
(1, "attr", (object)"hi");
1467
builder.
AddAttribute
(1, "attr", (object)value);
1487
builder.
AddAttribute
(1, "attr", (object)value);
1507
builder.
AddAttribute
(1, "attr", (object)value);
1527
builder.
AddAttribute
(1, "attr", (object)value);
1546
builder.
AddAttribute
(1, "attr", (object)callback);
1565
builder.
AddAttribute
(1, "attr", (object)callback);
1584
builder.
AddAttribute
(1, "attr", (object)callback);
1604
builder.
AddAttribute
(1, "attr", (object)callback);
1623
builder.
AddAttribute
(1, "attr", (object)callback);
1642
builder.
AddAttribute
(1, "attr", (object)callback);
1661
builder.
AddAttribute
(1, "attr", (object)callback);
1679
builder.
AddAttribute
(1, "attr", (object)null);
2191
builder.
AddAttribute
(1, "attr", 123);
Microsoft.AspNetCore.Components.Web.Tests (2)
HtmlRendering\HtmlRendererTest.cs (2)
653
rtb.
AddAttribute
(3, "value", pc.GetValueOrDefault<int>("value"));
1237
builder.
AddAttribute
(4, "Value", Value * 2);