-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update binary files and add Transaction class
- Loading branch information
rah
committed
Mar 6, 2024
1 parent
c48a660
commit c42be26
Showing
15 changed files
with
74 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
|
||
namespace Abacus.Observables.Blockchain | ||
{ | ||
public interface ITransaction<TId, TData> | ||
{ | ||
TId GetTransactionId(); | ||
TData SetData(TData input); | ||
TData GetData(); | ||
} | ||
|
||
public class Transaction<TId, TData> : ITransaction<TId, TData> | ||
{ | ||
public TId TransactionId { get; set; } | ||
public TData Data { get; set; } | ||
|
||
public TId GetTransactionId() => this.TransactionId; | ||
public TData GetData() => this.Data; | ||
public TData SetData(TData input) => this.Data = input; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
MauiBlazorNode/obj/Debug/net7.0-android/MauiBlazorNode.AssemblyInfoInputs.cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4c1f0195616b3c8c972c0f1561887cf50f0b163cdb31c274fb55914d34a5e239 | ||
8b675778f989cc60ff061c34f3a8be9bacae3282 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
MauiBlazorNode/obj/Debug/net7.0-android/MauiBlazorNode.GlobalUsings.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
MauiBlazorNode/obj/Debug/net7.0-android/MauiBlazorNode.assets.cache
Binary file not shown.
Binary file modified
BIN
+71.9 KB
(290%)
MauiBlazorNode/obj/Debug/net7.0-android/MauiBlazorNode.csproj.AssemblyReference.cache
Binary file not shown.
18 changes: 0 additions & 18 deletions
18
MauiBlazorNode/obj/Debug/net7.0-ios/MauiBlazorNode.GlobalUsings.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
MauiBlazorNode/obj/Debug/net7.0-ios/MauiBlazorNode.assets.cache
Binary file not shown.
Binary file modified
BIN
+71.9 KB
(650%)
MauiBlazorNode/obj/Debug/net7.0-ios/MauiBlazorNode.csproj.AssemblyReference.cache
Binary file not shown.
18 changes: 0 additions & 18 deletions
18
MauiBlazorNode/obj/Debug/net7.0-maccatalyst/MauiBlazorNode.GlobalUsings.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
MauiBlazorNode/obj/Debug/net7.0-maccatalyst/MauiBlazorNode.assets.cache
Binary file not shown.
Binary file modified
BIN
+71.9 KB
(650%)
MauiBlazorNode/obj/Debug/net7.0-maccatalyst/MauiBlazorNode.csproj.AssemblyReference.cache
Binary file not shown.