33 references to Attribute
Microsoft.AspNetCore.Components.Tests (33)
DynamicComponentTest.cs (1)
94
AssertFrame.
Attribute
(batch.ReferenceFrames[1], nameof(TestComponent.IntProp), 123, 1);
Rendering\RenderTreeBuilderTest.cs (28)
314
frame => AssertFrame.
Attribute
(frame, "ATTRIBUTE2", true),
424
AssertFrame.
Attribute
(frame, attribute.Key, attribute.Value);
815
frame => AssertFrame.
Attribute
(frame, "attribute2", 123, 1),
919
frame => AssertFrame.
Attribute
(frame, "attr", true, 1));
956
frame => AssertFrame.
Attribute
(frame, "attr", value, 1));
976
frame => AssertFrame.
Attribute
(frame, "attr", value, 1));
1108
frame => AssertFrame.
Attribute
(frame, "attr", value, 1));
1188
frame => AssertFrame.
Attribute
(frame, "attr", callback.Delegate, 1));
1226
frame => AssertFrame.
Attribute
(frame, "attr", callback, 1));
1246
frame => AssertFrame.
Attribute
(frame, "attr", callback, 1));
1266
frame => AssertFrame.
Attribute
(frame, "attr", callback, 1));
1285
frame => AssertFrame.
Attribute
(frame, "attr", callback.Delegate, 1));
1323
frame => AssertFrame.
Attribute
(frame, "attr", new EventCallback(callback.Receiver, callback.Delegate), 1));
1343
frame => AssertFrame.
Attribute
(frame, "attr", callback, 1));
1363
frame => AssertFrame.
Attribute
(frame, "attr", callback, 1));
1381
frame => AssertFrame.
Attribute
(frame, "attr", true, 1));
1418
frame => AssertFrame.
Attribute
(frame, "attr", value, 1));
1514
frame => AssertFrame.
Attribute
(frame, "attr", value, 1));
1534
frame => AssertFrame.
Attribute
(frame, "attr", value, 1));
1553
frame => AssertFrame.
Attribute
(frame, "attr", callback.Delegate, 1));
1591
frame => AssertFrame.
Attribute
(frame, "attr", callback, 1));
1611
frame => AssertFrame.
Attribute
(frame, "attr", callback, 1));
1630
frame => AssertFrame.
Attribute
(frame, "attr", callback.Delegate, 1));
1668
frame => AssertFrame.
Attribute
(frame, "attr", new EventCallback(callback.Receiver, callback.Delegate), 1));
1736
frame => AssertFrame.
Attribute
(frame, "param before", 123, 1),
1737
frame => AssertFrame.
Attribute
(frame, "param after", 456, 2));
2124
frame => AssertFrame.
Attribute
(frame, "param", 123, 1),
2163
frame => AssertFrame.
Attribute
(frame, "param", 123, 1));
RouteViewTest.cs (4)
65
frame => AssertFrame.
Attribute
(frame, nameof(LayoutView.Layout), (object)typeof(TestLayout), sequence: 1),
115
frame => AssertFrame.
Attribute
(frame, nameof(LayoutView.Layout), (object)typeof(OtherLayout), sequence: 1),
138
frame => AssertFrame.
Attribute
(frame, nameof(LayoutView.Layout), (object)null, sequence: 1),
162
frame => AssertFrame.
Attribute
(frame, nameof(LayoutView.Layout), (object)typeof(TestLayout), sequence: 1),