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: http://code.google.com/p/impromptu-interface/
IMyInterface instance = Impromptu.ActLike<IMyInferface>(myexpando);