Make HideFromUser property immutable

This commit is contained in:
Thorsten Sommer 2025-05-24 18:10:31 +02:00
parent b7f045a22b
commit 59373a0e60
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -28,7 +28,7 @@ public class ContentBlock
/// <summary> /// <summary>
/// Should the content block be hidden from the user? /// Should the content block be hidden from the user?
/// </summary> /// </summary>
public bool HideFromUser { get; set; } public bool HideFromUser { get; init; }
public ContentBlock DeepClone() public ContentBlock DeepClone()
{ {