3 ms·
"but you're still not applying this mixin to a poco" Clarify?
by amirrajan 14y ago
"but you're still not applying this mixin to a poco"
Clarify?
- bigdubs 14y agoPOCO = Plain Old (CLR) Object The distinction I'm drawing here is what is meant by 'natively supports' and 'supported via a 3rd party library'
- amirrajan 14y agoThat's what I need clarification on. the dynamic keyword wasn't provided by any 3rd party library (it's part of the C# language specification)... how is System.DynamicObject and IDynamicMetaObjectProvider different then System.Object? All poco's inherit System.Object. Do you consider System.Object as 3rd party? True, by default poco's don't inherit from System.DynamiObject. Does that make it not 'natively supported'?
- bigdubs 14y agoNo, what I mean by that is in order to use mixins, in any example I've seen, you need to inherit from a class someone else provided that gives it. Assembly provides all the mechanisms for the dynamic keyword, I wouldn't say it is a feature of x86.