15 references to StringProperty
Microsoft.AspNetCore.Components.Tests (15)
RenderTreeDiffBuilderTest.cs (15)
254oldTree.AddComponentParameter(1, nameof(FakeComponent.StringProperty), "Anything");
259oldTree.AddComponentParameter(1, nameof(FakeComponent.StringProperty), "Retained param value");
269newTree.AddComponentParameter(1, nameof(FakeComponent.StringProperty), "Retained param value");
292oldTree.AddComponentParameter(1, nameof(FakeComponent.StringProperty), "Will delete");
296oldTree.AddComponentParameter(3, nameof(FakeComponent.StringProperty), "Retained param value");
305newTree.AddComponentParameter(3, nameof(FakeComponent.StringProperty), "Retained param value");
1591newTree.AddComponentParameter(2, nameof(FakeComponent.StringProperty), "some string");
1605Assert.Equal("some string", componentInstance.StringProperty);
1706oldTree.AddComponentParameter(13, nameof(FakeComponent.StringProperty), "String will change");
1710newTree.AddComponentParameter(13, nameof(FakeComponent.StringProperty), "String did change");
1726Assert.Equal("String did change", newComponentInstance.StringProperty);
2026oldTree.AddComponentParameter(1, nameof(FakeComponent.StringProperty), "First param");
2033oldTree.AddComponentParameter(1, nameof(FakeComponent.StringProperty), "Second param");
2042newTree.AddComponentParameter(1, nameof(FakeComponent.StringProperty), "Second param");
2049newTree.AddComponentParameter(1, nameof(FakeComponent.StringProperty), "First param modified");