Adding attributes to an ExpandObject member var?

I have found this thread that talks a bit about it: Is it possible to add attributes to the generated members of an ExpandoObject instance?

but it seems to just focus on the powergrid.

I have spent about 1 hour looking for this on google without any luck either. Could anyone at least confirm if it can be done?.


You could create an interface and add the Attribute to the interface.

Than use Improptu:

IMyInterface instance = Impromptu.ActLike<IMyInferface>(myexpando);

Need Your Help

Using XPath Contains and getting 'missing right parenthesis' error

java sql xml xpath

I wish to use the xpath function 'contains' to extract data that contains 'Potter' but I keep getting a 'java.sql.SQLSyntaxErrorException: ORA-00907: missing right parenthesis' error, any help?

How can I {x:Bind} to a DataTemplate's root type in UWP?

c# xaml windows-store-apps uwp

I have a template that receives a string as its data type: