Mohi97
Mohi97

Reputation: 29

Imperative mode advantages

Documentation points to declarative and imperative model for method interop, with the imperative one seemingly being the advanced one.

What are the benefits of using one over the other?

Upvotes: 0

Views: 24

Answers (1)

erjitka
erjitka

Reputation: 115

The declarative model is created upon the imperative one to make your project easier to understand, therefore, easier to maintain.

The only case the imperative one could be useful is if someone wants to manually manipulate the data exchanged in the interop, ignoring the type safety the Glue42 .NET SDK provides.

Upvotes: 0

Related Questions