mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-26 21:13:13 +00:00
Nullables
This commit is contained in:
@ -120,6 +120,8 @@ public partial class MyService
|
||||
|
||||
[Export] public MyRecord Record => new MyRecord() { Id = 33, Name = "Test", Score = 99.33 };
|
||||
|
||||
[Export] public MyRecord? RecordNullable => new MyRecord() { Id = 33, Name = "Test Nullable", Score = 99.33 };
|
||||
|
||||
[Export] public List<int> IntList => new List<int>() { 1, 2, 3, 4, 5 };
|
||||
|
||||
[Export] public IRecord[] RecordsArray => new IRecord[] { new MyRecord() { Id = 22, Name = "Test", Score = 22.1 } };
|
||||
|
Reference in New Issue
Block a user