17 references to CookieListItem
Microsoft.AspNetCore.Components.Platform (17)
CookieChangeEvent.cs (3)
14public IReadOnlyList<CookieListItem> Changed { get; init; } = []; 17/// Gets the cookies that were deleted. Their <see cref="CookieListItem.Value"/> is <see langword="null"/>. 19public IReadOnlyList<CookieListItem> Deleted { get; init; } = [];
CookieStore.cs (14)
40public async ValueTask<CookieListItem?> GetAsync(string name) 46return await cookieStore.InvokeAsync<CookieListItem?>("get", name).ConfigureAwait(false); 57public async ValueTask<CookieListItem?> GetAsync(CookieStoreGetOptions options) 63return await cookieStore.InvokeAsync<CookieListItem?>("get", options).ConfigureAwait(false); 71[DynamicDependency(LinkerFlags.JsonSerialized, typeof(CookieListItem))] 72public async ValueTask<IReadOnlyList<CookieListItem>> GetAllAsync() 76return await cookieStore.InvokeAsync<CookieListItem[]>("getAll").ConfigureAwait(false); 86[DynamicDependency(LinkerFlags.JsonSerialized, typeof(CookieListItem))] 87public async ValueTask<IReadOnlyList<CookieListItem>> GetAllAsync(string name) 93return await cookieStore.InvokeAsync<CookieListItem[]>("getAll", name).ConfigureAwait(false); 104[DynamicDependency(LinkerFlags.JsonSerialized, typeof(CookieListItem))] 105public async ValueTask<IReadOnlyList<CookieListItem>> GetAllAsync(CookieStoreGetOptions options) 111return await cookieStore.InvokeAsync<CookieListItem[]>("getAll", options).ConfigureAwait(false); 212[DynamicDependency(LinkerFlags.JsonSerialized, typeof(CookieListItem))]