55 references to Attribute
Microsoft.AspNetCore.Components (2)
ParameterViewBuilder.cs (1)
37
_frames[nextIndex] = RenderTreeFrame.
Attribute
(0, name, value);
Rendering\RenderTreeBuilder.cs (1)
765
_entries.InsertExpensive(insertAtIndex, RenderTreeFrame.
Attribute
(sequence, attributeName, attributeValue));
Microsoft.AspNetCore.Components.Server.Tests (4)
Circuits\RenderBatchWriterTest.cs (4)
200
RenderTreeFrame.
Attribute
(123, "Attribute with string value", "String value"),
201
RenderTreeFrame.
Attribute
(124, "Attribute with nonstring value", 1),
202
RenderTreeFrame.
Attribute
(125, "Attribute with delegate value", new Action(() => { }))
221
RenderTreeFrame.
Attribute
(200, "Attribute with string value", "String value"),
Microsoft.AspNetCore.Components.Tests (49)
ParameterViewTest.cs (49)
48
RenderTreeFrame.
Attribute
(1, "attribute 1", attribute1Value),
49
RenderTreeFrame.
Attribute
(2, "attribute 2", attribute2Value),
53
RenderTreeFrame.
Attribute
(3, "orphaned attribute", "value")
72
RenderTreeFrame.
Attribute
(1, "attribute 1", attribute1Value),
73
RenderTreeFrame.
Attribute
(2, "attribute 2", attribute2Value),
75
RenderTreeFrame.
Attribute
(4, "child attribute", "some value")
95
RenderTreeFrame.
Attribute
(1, "attribute 1", attribute1Value)
116
RenderTreeFrame.
Attribute
(1, "some other entry", new object())
134
RenderTreeFrame.
Attribute
(1, "my entry", "hello")
153
RenderTreeFrame.
Attribute
(1, "my entry", myEntryValue),
154
RenderTreeFrame.
Attribute
(1, "my other entry", new object())
172
RenderTreeFrame.
Attribute
(1, "my entry", myEntryValue),
173
RenderTreeFrame.
Attribute
(1, "my entry", new object()),
190
RenderTreeFrame.
Attribute
(1, "some other entry", new object())
211
RenderTreeFrame.
Attribute
(1, "some other entry", new object())
228
RenderTreeFrame.
Attribute
(1, "my entry", "hello")
276
RenderTreeFrame.
Attribute
(0, "entry 1", "value 1"),
277
RenderTreeFrame.
Attribute
(0, "entry 2", entry2Value),
305
RenderTreeFrame.
Attribute
(1, "unrelated value", new object())
367
RenderTreeFrame.
Attribute
(1, "attribute 1", attribute1Value),
389
RenderTreeFrame.
Attribute
(1, "attribute 1", attribute1Value),
390
RenderTreeFrame.
Attribute
(1, "attribute 2", attribute2Value),
391
RenderTreeFrame.
Attribute
(1, "attribute 3", attribute3Value),
436
RenderTreeFrame.
Attribute
(1, "attribute 1", "value 1"),
453
RenderTreeFrame.
Attribute
(1, "attribute 1", "value 1"),
474
RenderTreeFrame.
Attribute
(1, "attribute 1", "value 1"),
475
RenderTreeFrame.
Attribute
(2, "attribute 2", "value 2"),
476
RenderTreeFrame.
Attribute
(3, "attribute 3", "value 3"),
481
RenderTreeFrame.
Attribute
(1, "attribute 1", "value 1"),
482
RenderTreeFrame.
Attribute
(2, "attribute 3", "value 3"),
499
RenderTreeFrame.
Attribute
(1, "attribute 1", "value 1"),
500
RenderTreeFrame.
Attribute
(2, "attribute 2", "value 2"),
501
RenderTreeFrame.
Attribute
(3, "attribute 3", "value 3"),
506
RenderTreeFrame.
Attribute
(1, "attribute 2", "value 1"),
507
RenderTreeFrame.
Attribute
(2, "attribute replaced", "value 2"),
508
RenderTreeFrame.
Attribute
(3, "attribute 3", "value 3"),
525
RenderTreeFrame.
Attribute
(1, "attribute 1", "value 1"),
526
RenderTreeFrame.
Attribute
(2, "attribute 2", "value 2"),
527
RenderTreeFrame.
Attribute
(3, "attribute 3", "value 3"),
532
RenderTreeFrame.
Attribute
(1, "attribute 2", "value 1"),
533
RenderTreeFrame.
Attribute
(2, "attribute replaced", "value 2"),
534
RenderTreeFrame.
Attribute
(3, "attribute 3", "value 3"),
535
RenderTreeFrame.
Attribute
(4, "attribute 4", "value 3"),
552
RenderTreeFrame.
Attribute
(1, "attribute 1", "value 1"),
553
RenderTreeFrame.
Attribute
(2, "attribute 2", "value 2"),
554
RenderTreeFrame.
Attribute
(3, "attribute 3", "value 3"),
559
RenderTreeFrame.
Attribute
(1, "attribute 1", "value 1"),
560
RenderTreeFrame.
Attribute
(2, "attribute 3", "value 3"),
561
RenderTreeFrame.
Attribute
(3, "attribute 2", "value 2"),