refactor(CookieConsentSettings): update to be executed only on NET

This commit is contained in:
Developer 02 2025-09-30 16:57:54 +02:00
parent dfa3cd1a58
commit e74a740abd

View File

@ -1,11 +1,12 @@
namespace DigitalData.Core.Abstraction.Application.DTO
#if NET
namespace DigitalData.Core.Abstraction.Application.DTO;
/// <summary>
/// Represents settings related to user cookie consent dialogs. Designed to be serialized into JSON format for use with JavaScript frontend libraries,
/// such as the bootstrap-cookie-consent-settings at the GitHub repository: https://github.com/shaack/bootstrap-cookie-consent-settings
/// </summary>
public class CookieConsentSettings
{
/// <summary>
/// Represents settings related to user cookie consent dialogs. Designed to be serialized into JSON format for use with JavaScript frontend libraries,
/// such as the bootstrap-cookie-consent-settings at the GitHub repository: https://github.com/shaack/bootstrap-cookie-consent-settings
/// </summary>
public class CookieConsentSettings
{
/// <summary>
/// URL to the privacy policy page.
/// </summary>
@ -70,5 +71,5 @@
/// List of categories for cookie consent.
/// </summary>
public List<string>? Categories { get; set; }
}
}
#endif