Calling COM from .NET, is this an example of an adapter template?

If I write code that calls a COM component from .NET, is this an example adapter template?

+3
source share
2 answers

Functionality > .. .NET functionality is more likely a proxy template application because the .NET class reflects the interface of the underlying COM component.

Quote from Sourcemaking :

The adapter provides a different interface for its object. A proxy provides the same interface.

Related Resources:

+3
source

pinvoke, Visual Studio, .

0

Source: https://habr.com/ru/post/1762618/


All Articles