diff --git a/Base/Structures/Result.cs b/Base/Structures/Result.cs index b4db8a9..09f166a 100644 --- a/Base/Structures/Result.cs +++ b/Base/Structures/Result.cs @@ -22,6 +22,10 @@ public readonly struct Result public bool IsSuccess => _successVal.HasValue; public bool IsFailure => _failureVal.HasValue; + public TSuccess SuccessVal => _successVal.Value; + + public TFailure FailureVal => _failureVal.Value; + public bool TrySuccess(out TSuccess output) { if (!_successVal.Try(out output))