2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-03-31 10:28:21 +00:00

comparision test brought here

This commit is contained in:
2026-03-19 15:26:42 +03:00
parent ee3fbd116d
commit e300173bdd
24 changed files with 2613 additions and 424 deletions

View File

@@ -406,9 +406,9 @@ public static class TypeDefGenerator
rt.AppendLine($"[Export] public {ptTypeName} {p.Name} {{");
rt.AppendLine($"get => ({ptTypeName})properties[{p.Index}];");
if (asyncSetters)
rt.AppendLine($"set => _Set({p.Index}, value);");
rt.AppendLine($"set => SetResourcePropertyAsync({p.Index}, value);");
else
rt.AppendLine($"set => _SetSync({p.Index}, value);");
rt.AppendLine($"set => SetResourceProperty({p.Index}, value);");
rt.AppendLine("}");
}