﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>CapableObjects Forums / ECO / General discussions  / Could someone post an example of using MultLinkCatch? / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>CapableObjects Forums</description><link>http://www.capableobjects.com/apps/InstantForum414/</link><webMaster>forums@capableobjects.com</webMaster><lastBuildDate>Wed, 08 Feb 2012 22:37:24 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Could someone post an example of using MultLinkCatch?</title><link>http://www.capableobjects.com/apps/InstantForum414/Topic5008-4-1.aspx</link><description>Hi, &lt;/P&gt;&lt;P&gt;you implemet in code interface Eco.LinkOperationCache.IMultiLinkCatcher that has the only method MultiLinkModified(IAssociationEnd ae). Within the method you can implement some handling for one or more multiroles of your class. Important: the method will be fired *after* a multirole changes, i.e. some objects have been added to or removed from the other association end.&lt;/P&gt;&lt;P&gt;  public partial class MyClass : Eco.LinkOperationCache.IMultiLinkCatcher &lt;BR&gt;  {&lt;BR&gt;      #region IMultiLinkCatcher Members&lt;BR&gt;      void Eco.LinkOperationCache.IMultiLinkCatcher.MultiLinkModified(IAssociationEnd ae)&lt;BR&gt;      {&lt;BR&gt;          if (ae.LoopbackIndex == Eco_LoopbackIndices.MyMultilinkProperty1)&lt;BR&gt;          {&lt;BR&gt;               DoSomething1;&lt;BR&gt;          }&lt;/P&gt;&lt;P&gt;          else if (ae.LoopbackIndex == Eco_LoopbackIndices.MyMultilinkProperty2)&lt;BR&gt;          {&lt;BR&gt;               DoSomething2;&lt;BR&gt;          }&lt;/P&gt;&lt;P&gt;      }&lt;BR&gt;      #endregion&lt;BR&gt;............................&lt;BR&gt;  }</description><pubDate>Mon, 15 Mar 2010 22:36:45 GMT</pubDate><dc:creator>efim</dc:creator></item><item><title>Could someone post an example of using MultLinkCatch?</title><link>http://www.capableobjects.com/apps/InstantForum414/Topic5008-4-1.aspx</link><description>Hi all,&lt;br&gt;&lt;br&gt;know how the objects being added, deleted or changed using MultLinkCatch?&lt;br&gt;&lt;br&gt;&lt;br&gt;Massaru</description><pubDate>Mon, 15 Mar 2010 20:34:41 GMT</pubDate><dc:creator>Massaru</dc:creator></item></channel></rss>
