-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7d0637
commit 5ce8685
Showing
3 changed files
with
237 additions
and
216 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
using System; | ||
|
||
namespace Blazor.Extensions.SignalR.Test.Client | ||
{ | ||
public class DemoData | ||
{ | ||
public long Id { get; set; } | ||
public string Data { get; set; } | ||
public decimal DecimalData { get; set; } | ||
public DateTime DateTime { get; set; } | ||
public bool Bool { get; set; } | ||
} | ||
} | ||
using System; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Blazor.Extensions.SignalR.Test.Client | ||
{ | ||
public class DemoData | ||
{ | ||
[JsonPropertyName("id")] | ||
public long Id { get; set; } | ||
|
||
[JsonPropertyName("data")] | ||
public string Data { get; set; } | ||
|
||
[JsonPropertyName("decimalData")] | ||
public decimal DecimalData { get; set; } | ||
|
||
[JsonPropertyName("dateTime")] | ||
public DateTime DateTime { get; set; } | ||
|
||
[JsonPropertyName("bool")] | ||
public bool Bool { get; set; } | ||
} | ||
} |
Oops, something went wrong.