| File: CookieChangeEvent.cs | Web Access |
| Project: Microsoft.AspNetCore.Components.Platform.csproj (Microsoft.AspNetCore.Components.Platform) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Components.Platform; /// <summary> /// Represents a change to the cookies visible to the current page. /// </summary> public sealed class CookieChangeEvent { /// <summary> /// Gets the cookies that were created or changed. /// </summary> public IReadOnlyList<CookieListItem> Changed { get; init; } = []; /// <summary> /// Gets the cookies that were deleted. Their <see cref="CookieListItem.Value"/> is <see langword="null"/>. /// </summary> public IReadOnlyList<CookieListItem> Deleted { get; init; } = []; }