2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-03-31 18:38:22 +00:00

No templates anymore

This commit is contained in:
2026-03-18 18:47:18 +03:00
parent 05d2c04857
commit ee3fbd116d
23 changed files with 208 additions and 956 deletions

View File

@@ -9,15 +9,15 @@ namespace Esiur.Resource;
public struct PropertyModificationInfo
{
public readonly IResource Resource;
public readonly PropertyDef PropertyTemplate;
public string Name => PropertyTemplate.Name;
public readonly PropertyDef PropertyDef;
public string Name => PropertyDef.Name;
public readonly ulong Age;
public object Value;
public PropertyModificationInfo(IResource resource, PropertyDef propertyTemplate, object value, ulong age)
public PropertyModificationInfo(IResource resource, PropertyDef propertyDef, object value, ulong age)
{
Resource = resource;
PropertyTemplate = propertyTemplate;
PropertyDef = propertyDef;
Age = age;
Value = value;
}