DLR Articles

C# Dynamic Binding – Language Binding

Language binding is a form of dynamic binding which occurs when a dynamic object does not implement IDynamicMetaObjectProvider. Language binding comes in handy when working around imperfectly designed types or the inherent limitations in the .NET type system. A common problem is that when using numeric types is they have no common interface. Using dynamic […]

Read more
Uncategorized

C# Dynamic Binding – Custom Binding

Custom binding is a form of dynamic binding which occurs when a dynamic object implements IDynamicMetaObjectProvider (IDMOP). Whilst you can implement IDynamicMetaObjectProvider on types that you which are written in C#, the more common use-case is that you have been given an IDMOP object from a dynamic language (such as IronPython or IronRuby) that is […]

Read more
Uncategorized