summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:45:04 +0000
committerfcolin2007-02-01 09:45:04 +0000
commitc5e1404c9ebb71d3f3f7f20511ecb86df22138a7 (patch)
tree68bbb7e3c42916bec399dca51d4fb26d059caa6f
parent40b8c273a661375f0ff20eac92ec02b1fcb10613 (diff)
downloadivy-csharp-c5e1404c9ebb71d3f3f7f20511ecb86df22138a7.zip
ivy-csharp-c5e1404c9ebb71d3f3f7f20511ecb86df22138a7.tar.gz
ivy-csharp-c5e1404c9ebb71d3f3f7f20511ecb86df22138a7.tar.bz2
ivy-csharp-c5e1404c9ebb71d3f3f7f20511ecb86df22138a7.tar.xz
Utilisateur : Fcolin Date : 23/06/06 Heure : 11:12 Créé Commentaire: (vss 1)
-rw-r--r--CSharp/Ivy/Ivy/Ivy.snippet43
1 files changed, 43 insertions, 0 deletions
diff --git a/CSharp/Ivy/Ivy/Ivy.snippet b/CSharp/Ivy/Ivy/Ivy.snippet
new file mode 100644
index 0000000..5319177
--- /dev/null
+++ b/CSharp/Ivy/Ivy/Ivy.snippet
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<CodeSnippets
+ xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
+ <CodeSnippet Format="1.0.0">
+ <Header>
+ <Title>
+ Ivy Message Callback
+ </Title>
+ </Header>
+ <Snippet>
+ <References>
+ <Reference>
+ <Assembly>Ivy.dll</Assembly>
+ </Reference>
+ </References>
+ <Imports>
+ <Import>
+ <Namespace>IvyBus</Namespace>
+ </Import>
+ </Imports>
+ <Declarations>
+ <Literal>
+ <ID>CallbackName</ID>
+ <ToolTip>Replace with a function name.</ToolTip>
+ <Default>bus_receive</Default>
+ </Literal>
+ <Literal>
+ <ID>Expression</ID>
+ <ToolTip>Replace with a regular expression.</ToolTip>
+ <Default>"^(.*)"</Default>
+ </Literal>
+ </Declarations>
+ <Code Language="CSharp">
+ <![CDATA[
+ [IvyBinding($Expression$)]
+ private void $CallbackName$(object sender, IvyMessageEventArgs e)
+ {
+ }
+ ]]>
+ </Code>
+ </Snippet>
+ </CodeSnippet>
+</CodeSnippets>