HarmonyCore
HarmonyCore copied to clipboard
Add support for applying OrFieldAdapterAttribute to Collection fields
rather than having multiple fields with a defined order, it should be possible to have a collection property that is filled by the operands. Something like the following usage
{OrFieldAdapter}
public readwrite property InName, @List<string>
The dispatcher should detect that InName is either construct-able and inherits from IList, or can be instantiated as List<T>, the property would have to be IList, IEnumerable or similar.
Aha! Link: https://synergex.aha.io/features/HC-62