We curently have IAttributeComponent and the base component implementing it.
public class BaseComponent : IAttributeComponent
{
[Parameter(CaptureUnmatchedValues = true)]
public IReadOnlyDictionary<string, object> Attributes { get; set; } = new Dictionary<string, object>();
}
This could easily be done with a an attribute and Moxy.
Would be nice to add those to TimeWarp-SourceGen library.
[TW_Attributes]
internal class Person {}