Skip to content

Commit

Permalink
v1.2.1 - ITextual and Custom Converters
Browse files Browse the repository at this point in the history
  • Loading branch information
monoman committed Feb 15, 2021
1 parent 30e581d commit 8c04b70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions InterlockLedger.Commons/InterlockLedger.Commons.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<Product>InterlockLedger</Product>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/interlockledger/interlockledger-commons.git</RepositoryUrl>
<Version>1.2.0</Version>
<Version>1.2.1</Version>
<PackageId>InterlockLedger.Commons</PackageId>
<PackageReleaseNotes>Expose LimitedRange.Count</PackageReleaseNotes>
<PackageReleaseNotes>ITextual and Custom Converters</PackageReleaseNotes>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
5 changes: 4 additions & 1 deletion InterlockLedger.Commons/System/Interfaces/ITextual.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@

namespace System
{
public interface ITextual<T> where T : new()
public interface ITextual
{
string TextualRepresentation { get; }
}

public interface ITextual<T> : ITextual where T : new()
{
T ResolveFrom(string textualRepresentation);
}
}

0 comments on commit 8c04b70

Please sign in to comment.