Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r16 - trunk/www

dotspect
Discussion topic

Back to topic list

svn commit: r16 - trunk/www

Reply

Author timewinds
Full name Pavan Podila
Date 2005-12-21 20:31:39 PST
Message Author: timewinds
Date: Wed Dec 21 20:31:39 2005
New Revision: 16

Added:
   trunk/www/Resume_Pav​anPodila.doc (contents, props changed)
   trunk/www/SimpleInput.aspect
Log:


Added: trunk/www/Resume_Pav​anPodila.doc
Url: http://dotspect.tigr​is.org/source/browse​/dotspect/trunk/www/​Resume_PavanPodila.d​oc?view=auto&rev​=16
====================​====================​====================​==================
Binary file. No diff available.

Added: trunk/www/SimpleInput.aspect
Url: http://dotspect.tigr​is.org/source/browse​/dotspect/trunk/www/​SimpleInput.aspect?v​iew=auto&rev=16
====================​====================​====================​==================
--- (empty file)
+++ trunk/www/SimpleInput.aspect Wed Dec 21 20:31:39 2005
@@ -0,0 +1,43 @@
+<?
+ Language="CS";
+
+ ref "System.dll";
+ ref "System.Windows.Forms.dll";
+
+ using System;
+ using System.Windows.Forms;
+?>
+
+aspect MyAspect
+{
+ <%
+ public static void SayHello()
+ {
+ System.Console.WriteLine("Hello World");
+ }
+
+ public static void SayGoodbye()
+ {
+ System.Console.Write​Line("Goodbye");
+ }
+ %>
+
+ pointcut Test8(System.Windows.Forms.Form form) :
+ call(void HelloWorld.Greeter.S​ayHello(System.Windo​ws.Forms.Form)) ||
+ call(void HelloWorld.Greeter.S​ayGoodBye(System.Win​dows.Forms.Form)) ||
+ call(void HelloWorld.Greeter.n​ew(System.Windows.Fo​rms.Form));
+
+ before(System.Window​s.Forms.Form form) : Test8(form)
+ <%
+ form.Text = "Some other value ---CHANGED---";
+ %>
+
+ <%
+ private static void SaySomething()
+ {
+ // Advice should get injected here
+ SayHello();
+ SayGoodbye();
+ }
+ %>
+}
\ No newline at end of file

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r16 - trunk/www timewinds Pavan Podila 2005-12-21 20:31:39 PST
Messages per page: