Overall Architecture

To wrap up our discussion of DLR internals, let’s look at an overview diagram of the infrastructure available. Figure 22.24 illustrates the DLR in the middle between languages that are enabled for dynamic and target object domains.

Image

FIGURE 22.24 The DLR providing services to bridge languages and target domains.

As you’ve seen, it’s possible to use the DLR to invoke operations on .NET objects (sometimes referred to as POCOs for plain old CLR objects), replacing the plumbing code you would have to write when dealing with the reflection APIs. Furthermore, the DLR enables us to reach out to other domains, such as JavaScript in ...

Get C# 5.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.