2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-05-06 19:42:58 +00:00
esiur-dotnet/Test/MyResource.cs
2024-03-25 17:59:55 +03:00

24 lines
489 B
C#

using Esiur.Core;
using Esiur.Resource;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test
{
[Resource]
[Annotation("A", "B", "C", "D")]
public partial class MyResource
{
[Export][Annotation("Comment")] string description;
[Export] int categoryId;
[Export] public string Hello() => "Hi";
[Export] public string HelloParent() => "Hi from Parent";
}
}