Skip to content

Commit

Permalink
v18.2.1 Fix README.md - Small code cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
monoman committed Apr 22, 2024
1 parent 171f854 commit ad08440
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@

#nullable enable

using System.Diagnostics;

using static System.ObjectExtensions;
using static Test.Helpers;

namespace System;

[TestFixture]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ public static IEnumerable<string> SafeSkipBlanks(this IEnumerable<string?>? stri

}

public static class IInvalidableExtensions {
public static class IInvalidableExtensions
{

public static bool IsInvalid(this IInvalidable value) => value.InvalidityCause.IsNonBlank();
public static string FullRepresentation(this IInvalidable value) => value.IsInvalid() ? value.TextualRepresentation + Environment.NewLine + value.InvalidityCause! : value.TextualRepresentation;
Expand Down
2 changes: 1 addition & 1 deletion InterlockLedger.Commons/InterlockLedger.Commons.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Product>InterlockLedger</Product>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/interlockledger/interlockledger-commons.git</RepositoryUrl>
<Version>18.2.0</Version>
<Version>18.2.1</Version>
<PackageId>InterlockLedger.Commons</PackageId>
<PackageReleaseNotes>Json deserialization fails for PageOf&lt;T&gt; as a record</PackageReleaseNotes>
<PackageIcon>il2.png</PackageIcon>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# il2 tags
InterlockLedger.Tags library for common InterlockLedger Tags types and their encoding/decoding, helpers and class extensions
# IL2 Commons
InterlockLedger.Commons library for common helpers and class extensions

0 comments on commit ad08440

Please sign in to comment.