summaryrefslogtreecommitdiff
path: root/Ivy/Ivy.snippet
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:04:16 +0000
committerfcolin2007-02-01 12:04:16 +0000
commit92757a8d629812303ff3665343bd098917cca611 (patch)
treecd995c9863aa6fc4c32ec5ce247e4c3119eb44a3 /Ivy/Ivy.snippet
parent98ab5d0164040427f7c554febae125686284e2a7 (diff)
downloadivy-csharp-92757a8d629812303ff3665343bd098917cca611.zip
ivy-csharp-92757a8d629812303ff3665343bd098917cca611.tar.gz
ivy-csharp-92757a8d629812303ff3665343bd098917cca611.tar.bz2
ivy-csharp-92757a8d629812303ff3665343bd098917cca611.tar.xz
modification structure svn
Diffstat (limited to 'Ivy/Ivy.snippet')
-rw-r--r--Ivy/Ivy.snippet43
1 files changed, 43 insertions, 0 deletions
diff --git a/Ivy/Ivy.snippet b/Ivy/Ivy.snippet
new file mode 100644
index 0000000..5319177
--- /dev/null
+++ b/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>