11namespace DotNext ;
22
33/// <summary>
4- /// Represents common interface for all option monads.
4+ /// Represents the common interface for all option monads.
55/// </summary>
66/// <typeparam name="T">The type of the value in the container.</typeparam>
77public interface IOptionMonad < T > : ISupplier < object ? >
@@ -20,7 +20,7 @@ public interface IOptionMonad<T> : ISupplier<object?>
2020 /// <summary>
2121 /// If a value is present, returns the value, otherwise return default value.
2222 /// </summary>
23- /// <value>The value, if present, otherwise default.</value>
23+ /// <value>The value stored in the container , if present, otherwise, default value .</value>
2424 T ? ValueOrDefault { get ; }
2525
2626 /// <summary>
@@ -38,7 +38,7 @@ public interface IOptionMonad<T> : ISupplier<object?>
3838 T OrInvoke ( Func < T > defaultFunc ) => HasValue ? ValueOrDefault ! : defaultFunc ( ) ;
3939
4040 /// <summary>
41- /// Attempts to extract value from container if it is present.
41+ /// Attempts to extract value from the container if it is present.
4242 /// </summary>
4343 /// <param name="value">Extracted value.</param>
4444 /// <returns><see langword="true"/> if value is present; otherwise, <see langword="false"/>.</returns>
@@ -50,7 +50,7 @@ bool TryGet(out T? value)
5050}
5151
5252/// <summary>
53- /// Represents common interface for all option monads.
53+ /// Represents the common interface for all option monads.
5454/// </summary>
5555/// <typeparam name="T">The type of the value in the container.</typeparam>
5656/// <typeparam name="TSelf">The implementing type.</typeparam>
0 commit comments