mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Adds editorconfig and refactors to the established rules
This commit is contained in:
1 parent
712a0f2b27
commit
cd44f11d9e
138 files changed
+1799
-1629
No files matched your search
@@ -16,17 +16,11 @@ public readonly struct Optional<TValue>
|
||||
/// 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 TValue Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return HasValue ? _value! : default!;
|
||||
}
|
||||
}
|
||||
public TValue Value => HasValue ? _value! : default!;
|
||||
#endregion
|
||||
|
||||
#region ====================================================================== CTOR =====================================================================================
|
||||
|
||||
Reference in new issue
Block a user