Continues core Domain structure modeling

This commit is contained in:
BinaryAlley committed 2024-08-23 10:07:04 +03:00
1 parent c39652066e
commit 50c15cf889
54 files changed
+2318 -159

No files matched your search

@@ -12,7 +12,14 @@ public readonly struct Optional<T>
#endregion
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets a value indicating whether this structure has a value.
/// </summary>
public bool HasValue { get; }
/// <summary>
/// Gets the value represented by this structure.
/// </summary>
public T Value
{
get
@@ -24,7 +31,7 @@ public readonly struct Optional<T>
#region ====================================================================== CTOR =====================================================================================
/// <summary>
/// Overload C-tor.
/// Initializes a new instance of the <see cref="Optional{T}"/> structure.
/// </summary>
/// <param name="value">The value represented by this structure.</param>
public Optional(T value)