2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-01-27 01:20:39 +00:00

IDynamicResource Added

This commit is contained in:
2026-01-21 09:06:35 +03:00
parent 63ba506338
commit f8d7630c21
18 changed files with 698 additions and 839 deletions

View File

@@ -9,24 +9,24 @@ namespace Esiur.Resource.Template;
public class MemberTemplate
{
public readonly byte Index;
public readonly string Name;
public readonly bool Inherited;
public readonly TypeTemplate Template;
public byte Index { get; set; }
public string Name { get; set; }
public bool Inherited { get; set; }
public TypeTemplate Template { get; set; }
public MemberTemplate(TypeTemplate template, byte index, string name, bool inherited)
{
Template = template;
Index = index;
Name = name;
Inherited = inherited;
}
//public MemberTemplate()
//{
// Template = template;
// Index = index;
// Name = name;
// Inherited = inherited;
//}
public string Fullname => Template.ClassName + "." + Name;
public virtual byte[] Compose()
{
return DC.ToBytes(Name);
}
//public virtual byte[] Compose()
//{
// return DC.ToBytes(Name);
//}
}