Skip to content

Commit d86b9b5

Browse files
committed
Seal option type
1 parent 07b41ce commit d86b9b5

File tree

1 file changed

+1
-1
lines changed
  • Core/Cleipnir.ResilientFunctions/Messaging

1 file changed

+1
-1
lines changed

Core/Cleipnir.ResilientFunctions/Messaging/Option.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Cleipnir.ResilientFunctions.Messaging;
66

7-
public class Option<T>(T v, bool hasValue)
7+
public sealed class Option<T>(T v, bool hasValue)
88
{
99
public static Option<T> NoValue { get; } = new(default!, hasValue: false);
1010
public bool HasValue { get; } = hasValue;

0 commit comments

Comments
 (0)