<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to keywords-event</title><link>https://sourceforge.net/p/asil/wiki/keywords-event/</link><description>Recent changes to keywords-event</description><atom:link href="https://sourceforge.net/p/asil/wiki/keywords-event/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 19 Feb 2014 11:52:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/asil/wiki/keywords-event/feed" rel="self" type="application/rss+xml"/><item><title>keywords-event modified by Will Pittenger</title><link>https://sourceforge.net/p/asil/wiki/keywords-event/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Used to declare an event.  For more on events, see the section &lt;a class="alink" href="/p/asil/wiki/Events/"&gt;[Events]&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="declaration"&gt;Declaration&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;\event\ /DelegateTypeIdentifier/ /identifier/
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;/DelegateTypeIdentifier/ must be a Delegate type declared with the &lt;strong&gt;&lt;a class="" href="/p/asil/wiki/keywords-delegate/"&gt;delegate&lt;/a&gt;&lt;/strong&gt; keyword.&lt;/p&gt;
&lt;h2 id="subscribing"&gt;Subscribing&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;/EventIdentifier/ ++ /DelegateInstance/
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;/DelegateInstance/ must be a procedure that matches the delegate the type is based on.  For more on delegates, see the section &lt;a class="alink" href="/p/asil/wiki/Delegates/"&gt;[Delegates]&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="unsubscribing"&gt;Unsubscribing&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;/EventIdentifier/ -- /DelegateInstance/
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="firing-the-event"&gt;Firing the event&lt;/h2&gt;
&lt;p&gt;Simply treat the event as though it were the same type of procedure that the delegate is based on.  So if the delegate is a command, treat the event as a command.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Will Pittenger</dc:creator><pubDate>Wed, 19 Feb 2014 11:52:58 -0000</pubDate><guid>https://sourceforge.net8d9230ee463f71f432126ccb69446dde4a6ea8de</guid></item></channel></rss>