Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
<PackageVersion Include="coverlet.msbuild" Version="6.0.2" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="NetEvolve.Arguments" Version="1.2.168" />
<PackageVersion Include="NetEvolve.Arguments" Version="1.3.0" />
<PackageVersion Include="NetEvolve.Extensions.XUnit" Version="2.4.0" />
<PackageVersion Include="Polyfill" Version="7.7.0" />
<PackageVersion Include="xunit" Version="2.9.2" />
Expand Down
6 changes: 3 additions & 3 deletions src/NetEvolve.Guard/Ensure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static class Ensure
/// </summary>
/// <typeparam name="T">Type of <paramref name="value"/>.</typeparam>
/// <param name="value">Value to be verified.</param>
/// <param name="parameterName">Optional parameter, this is filled in with the <see cref="CallerArgumentExpressionAttribute"/> mechanism and doesn't need to be set manually.</param>
/// <param name="parameterName">Optional parameter, this is filled in with the <b>CallerArgumentExpressionAttribute</b> mechanism and doesn't need to be set manually.</param>
/// <returns><see cref="EnsureContext{T}"/> for further validations.</returns>
/// <exception cref="ArgumentNullException">Whenn <paramref name="parameterName"/> is <see langword="null"/>.</exception>
/// <exception cref="ArgumentException">Whenn <paramref name="parameterName"/> is <see cref="string.Empty"/>.</exception>
Expand All @@ -37,7 +37,7 @@ public static class Ensure
/// </summary>
/// <typeparam name="T">Type of <paramref name="value"/>.</typeparam>
/// <param name="value">Value to be verified.</param>
/// <param name="parameterName">Optional parameter, this is filled in with the <see cref="CallerArgumentExpressionAttribute"/> mechanism and doesn't need to be set manually.</param>
/// <param name="parameterName">Optional parameter, this is filled in with the <b>CallerArgumentExpressionAttribute</b> mechanism and doesn't need to be set manually.</param>
/// <returns><see cref="EnsureContext{T}"/> for further validations.</returns>
/// <exception cref="ArgumentNullException">Whenn <paramref name="parameterName"/> is <see langword="null"/>.</exception>
/// <exception cref="ArgumentException">Whenn <paramref name="parameterName"/> is <see cref="string.Empty"/>.</exception>
Expand All @@ -59,7 +59,7 @@ public static EnsureContext<T> That<T>(
/// </summary>
/// <typeparam name="T">Type of <paramref name="value"/>.</typeparam>
/// <param name="value">Value to be verified.</param>
/// <param name="parameterName">Optional parameter, this is filled in with the <see cref="CallerArgumentExpressionAttribute"/> mechanism and doesn't need to be set manually.</param>
/// <param name="parameterName">Optional parameter, this is filled in with the <b>CallerArgumentExpressionAttribute</b> mechanism and doesn't need to be set manually.</param>
/// <returns><see cref="EnsureContext{T}"/> for further validations.</returns>
/// <exception cref="ArgumentNullException">Whenn <paramref name="parameterName"/> is <see langword="null"/>.</exception>
/// <exception cref="ArgumentException">Whenn <paramref name="parameterName"/> is <see cref="string.Empty"/>.</exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public partial class EnsureContextExtensions
/// <typeparam name="T">Type to be checked.</typeparam>
/// <param name="value">Value to be verified.</param>
/// <param name="condition">Validation expression for checking the type.</param>
/// <param name="conditionAsString">Optional parameter, this is filled in with the <see cref="CallerArgumentExpressionAttribute"/> mechanism and doesn't need to be set manually.</param>
/// <param name="conditionAsString">Optional parameter, this is filled in with the <b>CallerArgumentExpressionAttribute</b> mechanism and doesn't need to be set manually.</param>
/// <returns>Returns <paramref name="value"/>.</returns>
/// <exception cref="ArgumentNullException">When <paramref name="condition"/> is <see langword="null"/>.</exception>
/// <exception cref="ArgumentException">When <paramref name="condition"/> returns <see langword="false"/>.</exception>
Expand Down
Loading