1 write to Id
Microsoft.AspNetCore.Components (1)
ElementReference.cs (1)
36Id = id;
16 references to Id
Microsoft.AspNetCore.Components (1)
RenderTree\RenderTreeDiffBuilder.cs (1)
988newFrame.ElementReferenceCaptureIdField = newElementReference.Id;
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
54writer.WriteString(IdProperty, value.Id);
Microsoft.AspNetCore.Components.Server.Tests (5)
ElementReferenceJsonConverterTest.cs (5)
26var expected = $"{{\"__internalId\":\"{elementReference.Id}\"}}"; 43var id = ElementReference.CreateWithUniqueId(ElementReferenceContext).Id; 53Assert.Equal(id, elementReference.Id); 60var id = ElementReference.CreateWithUniqueId(ElementReferenceContext).Id; 73Assert.Equal(id, elementReference.Id);
Microsoft.AspNetCore.Components.Tests (7)
RenderTreeDiffBuilderTest.cs (7)
1853Assert.NotNull(ref1.Id); 1854Assert.NotNull(ref2.Id); 1855Assert.NotEqual(ref1.Id, ref2.Id); 1868Assert.Equal(ref1.Id, frame.ElementReferenceCaptureId); 1873Assert.Equal(ref2.Id, frame.ElementReferenceCaptureId); 1898Assert.NotNull(ref1.Id);
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
54writer.WriteString(IdProperty, value.Id);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
54writer.WriteString(IdProperty, value.Id);