5 references to GetOrAddFeature
Microsoft.AspNetCore.Components.Platform (5)
Navigator.cs (1)
119return _window.GetOrAddFeature(factory);
Screen.cs (1)
106return _window.GetOrAddFeature(factory);
WindowCookieStoreExtensions.cs (1)
17=> window.GetOrAddFeature(static context => new CookieStore(context.JSRuntime, context.CreateEventListenerCollection()));
WindowUrlExtensions.cs (2)
17=> window.GetOrAddFeature(static context => new UrlConstructor(context.JSRuntime)); 23=> window.GetOrAddFeature(static context => new UrlSearchParamsConstructor(context.JSRuntime));