mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-26 21:13:13 +00:00
fix generator
This commit is contained in:
@ -11,7 +11,7 @@ namespace Test
|
||||
[Annotation("A", "B", "C", "D")]
|
||||
public partial class MyResource
|
||||
{
|
||||
[Public] string description;
|
||||
[Public][Annotation("Comment")] string description;
|
||||
[Public] int categoryId;
|
||||
}
|
||||
}
|
||||
|
@ -94,6 +94,10 @@ namespace Test
|
||||
{
|
||||
dynamic remote = await Warehouse.Get<IResource>("iip://localhost/mem/service");
|
||||
|
||||
var con = remote.Connection as DistributedConnection;
|
||||
var template = await con.GetTemplateByClassName("Test.MyResource");
|
||||
|
||||
|
||||
TestObjectProps(local, remote);
|
||||
|
||||
var gr = await remote.GetGenericRecord();
|
||||
@ -184,5 +188,9 @@ namespace Test
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user