4 implementations of Assembly
Microsoft.AspNetCore.Components (2)
PersistentState\PersistentServiceRegistration.cs (1)
11public string Assembly => typeof(TService).Assembly.GetName().Name!;
PersistentState\PersistentServicesRegistry.cs (1)
237public string Assembly { get; set; } = "";
Microsoft.AspNetCore.Components.Tests (2)
PersistentState\ComponentStatePersistenceManagerTest.cs (1)
427public string Assembly { get; set; }
PersistentState\PersistentServicesRegistryTest.cs (1)
496public string Assembly { get; set; }
5 references to Assembly
Microsoft.AspNetCore.Components (3)
PersistentState\PersistentServicesRegistry.cs (3)
142internal static IPersistentServiceRegistration[] ResolveRegistrations(IEnumerable<IPersistentServiceRegistration> registrations) => [.. registrations.DistinctBy(r => (r.Assembly, r.FullTypeName)).OrderBy(r => r.Assembly).ThenBy(r => r.FullTypeName)]; 150var assembly = registration.Assembly;
Microsoft.AspNetCore.Components.Tests (2)
PersistentState\PersistentServicesRegistryTest.cs (2)
276Assert.Contains(registrations, r => r.Assembly == "Assembly1" && r.FullTypeName == "Type1"); 277Assert.Contains(registrations, r => r.Assembly == "Assembly2" && r.FullTypeName == "Type2");