Note that there are some explanatory texts on larger screens.

plurals
  1. POMAF with class inside DLL passing to host
    primarykey
    data
    text
    <p>I'm developing a MAF application which, in a DLL contains a class. The problem is, when one of the methods exposed by one of the AddIns uses this class. Example:</p> <pre><code>class A { Property_1 Property_2 Method_X() } </code></pre> <p>And my AddIn has a method which use class A</p> <pre><code>MyAddIn.Set(class A); </code></pre> <p>So, with this, where must I place the DLL in the pipeline? Or how should I proceed with this scenario?</p> <p>When the proyect start, the warnings of the AddInStore.Update() method throws messages like: unable to connect a part of a canalization...</p> <p>So, there is an article <a href="http://www.developerfusion.com/article/9396/creating-extensible-applications-with-maf/" rel="nofollow">this</a> which says "There are many other capabilities MAF provides such as versioning, passing collections and WPF visuals, passing non-serializable types, etc.". But I can't find an example.</p> <p>EDIT:</p> <p>Thanks to Panos for this <a href="http://blogs.msdn.com/b/clraddins/archive/2007/02/27/restrictions-on-contracts.aspx" rel="nofollow">link</a> about the restrictions on contracts. And after more research I've found this <a href="http://blogs.msdn.com/b/zifengh/archive/2007/01/24/clr-addin-model-in-paint-net-10-data-type-contract.aspx" rel="nofollow">article</a> which, through the Paint.NET proyect, shows how to use data types in the host without referencing.</p> <p>After reading both sources, I know that this is what I'm looking for. But I can't understand it yet. </p> <p>As a final petition, can someone please provide me code example? Just to finally get it.</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload