1 write to Array
Microsoft.AspNetCore.Components (1)
122 references to Array
Microsoft.AspNetCore.Components (9)
Microsoft.AspNetCore.Components.Authorization.Tests (2)
Microsoft.AspNetCore.Components.Endpoints (5)
Microsoft.AspNetCore.Components.Endpoints.Tests (31)
ImportMapTest.cs (31)
68Assert.Equal(RenderTreeFrameType.Element, frames.Array[0].FrameType);
69Assert.Equal("script", frames.Array[0].ElementName);
70Assert.Equal(RenderTreeFrameType.Attribute, frames.Array[1].FrameType);
71Assert.Equal("type", frames.Array[1].AttributeName);
72Assert.Equal("importmap", frames.Array[1].AttributeValue);
73Assert.Equal("nonce", frames.Array[2].AttributeName);
74Assert.Equal("random", frames.Array[2].AttributeValue);
75Assert.Equal(RenderTreeFrameType.Markup, frames.Array[3].FrameType);
76Assert.Equal(importMapDefinition.ToJson(), frames.Array[3].TextContent);
115Assert.Equal(RenderTreeFrameType.Element, frames.Array[0].FrameType);
116Assert.Equal("script", frames.Array[0].ElementName);
117Assert.Equal(RenderTreeFrameType.Attribute, frames.Array[1].FrameType);
118Assert.Equal("type", frames.Array[1].AttributeName);
119Assert.Equal("importmap", frames.Array[1].AttributeValue);
120Assert.Equal(RenderTreeFrameType.Markup, frames.Array[2].FrameType);
121Assert.Equal(importMapDefinition.ToJson(), frames.Array[2].TextContent);
180Assert.Equal(RenderTreeFrameType.Element, frames.Array[0].FrameType);
181Assert.Equal("script", frames.Array[0].ElementName);
182Assert.Equal(RenderTreeFrameType.Attribute, frames.Array[1].FrameType);
183Assert.Equal("type", frames.Array[1].AttributeName);
184Assert.Equal("importmap", frames.Array[1].AttributeValue);
185Assert.Equal(RenderTreeFrameType.Markup, frames.Array[2].FrameType);
186Assert.Equal(otherImportMapDefinition.ToJson(), frames.Array[2].TextContent);
235Assert.Equal(0, _renderer.CapturedBatch.UpdatedComponents.Array[0].Edits.Count);
239Assert.Equal(RenderTreeFrameType.Element, frames.Array[0].FrameType);
240Assert.Equal("script", frames.Array[0].ElementName);
241Assert.Equal(RenderTreeFrameType.Attribute, frames.Array[1].FrameType);
242Assert.Equal("type", frames.Array[1].AttributeName);
243Assert.Equal("importmap", frames.Array[1].AttributeValue);
244Assert.Equal(RenderTreeFrameType.Markup, frames.Array[2].FrameType);
245Assert.Equal(importMapDefinition.ToJson(), frames.Array[2].TextContent);
Microsoft.AspNetCore.Components.Forms.Tests (2)
Microsoft.AspNetCore.Components.Server (4)
Microsoft.AspNetCore.Components.Tests (45)
Microsoft.AspNetCore.Components.Web (7)
Microsoft.AspNetCore.Components.Web.Tests (3)
Microsoft.AspNetCore.Components.WebView (4)
Microsoft.AspNetCore.Components.WebView.Test (10)