mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-26 21:13:13 +00:00
Type Annotation
This commit is contained in:
@ -8,6 +8,7 @@ using System.Threading.Tasks;
|
||||
namespace Test
|
||||
{
|
||||
[Resource]
|
||||
[Annotation("A", "B", "C", "D")]
|
||||
public partial class MyResource
|
||||
{
|
||||
[Public] string description;
|
||||
|
@ -53,7 +53,7 @@ namespace Test
|
||||
|
||||
static async Task Main(string[] args)
|
||||
{
|
||||
|
||||
|
||||
// Create stores to keep objects.
|
||||
var system = await Warehouse.Put("mem", new MemoryStore());
|
||||
var server = await Warehouse.Put("mem/server", new DistributedServer());
|
||||
|
Reference in New Issue
Block a user