1 write to _tagStore
Aspire.Dashboard.Components.Tests (1)
Controls\ResourceTagEditorTests.cs (1)
62_tagStore = new(_localStorage, new LocalStorageLocks(), new FakeTimeProvider(), Options.Create(new DashboardOptions()), NullLogger<ResourceTagStore>.Instance);
19 references to _tagStore
Aspire.Dashboard.Components.Tests (19)
Controls\ResourceTagEditorTests.cs (19)
55Assert.Equal(["Backend"], _tagStore.GetTags("api")); 65Services.AddSingleton(_tagStore); 82Assert.Equal(["backend"], _tagStore.GetTags("api")); 89_tagStore.AddTag("api", "backend"); 90_tagStore.AddTag("api", "core"); 91_tagStore.AddTag("worker", "jobs"); 101_tagStore.AddTag("api", "backend"); 102_tagStore.AddTag("worker", "background"); 103_tagStore.AddTag("worker", "jobs"); 118_tagStore.AddTag("worker", "Background"); 125Assert.Equal(["Background"], _tagStore.GetTags("api")); 138Assert.Equal(["new tag"], _tagStore.GetTags("api")); 144_tagStore.AddTag("api", "backend"); 145_tagStore.AddTag("api", "core"); 150Assert.Equal(["core"], _tagStore.GetTags("api")); 157_tagStore.AddTag("api", "backend"); 158_tagStore.AddTag("api", "core"); 164Assert.Equal(["backend"], _tagStore.GetTags("api")); 172_tagStore.AddTag("api", "backend");