Aaltuj/VxFormGenerator

Allow for lookup defintions for a property

Aaltuj opened this issue · 0 comments

Requirements:

At the moment the generator supports only enums as a list. this needs to be extended with the following data types:

  • IEnumerator<>
  • Dictionary<bool, string>
  • Dictonary<bool, object> (Adds expression to the lookup, (object x)=> x.Name)

Solution:

Create an attribute that tells the generator to get the values;

[VxLookup(Expression, Name)]