Skip to content

Commit 8c04b70

Browse files
committed
v1.2.1 - ITextual and Custom Converters
1 parent 30e581d commit 8c04b70

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

InterlockLedger.Commons/InterlockLedger.Commons.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<Product>InterlockLedger</Product>
1414
<RepositoryType>git</RepositoryType>
1515
<RepositoryUrl>https://github.com/interlockledger/interlockledger-commons.git</RepositoryUrl>
16-
<Version>1.2.0</Version>
16+
<Version>1.2.1</Version>
1717
<PackageId>InterlockLedger.Commons</PackageId>
18-
<PackageReleaseNotes>Expose LimitedRange.Count</PackageReleaseNotes>
18+
<PackageReleaseNotes>ITextual and Custom Converters</PackageReleaseNotes>
1919
</PropertyGroup>
2020

2121
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

InterlockLedger.Commons/System/Interfaces/ITextual.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@
3232

3333
namespace System
3434
{
35-
public interface ITextual<T> where T : new()
35+
public interface ITextual
3636
{
3737
string TextualRepresentation { get; }
38+
}
3839

40+
public interface ITextual<T> : ITextual where T : new()
41+
{
3942
T ResolveFrom(string textualRepresentation);
4043
}
4144
}

0 commit comments

Comments
 (0)