cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/5] wp7 commit: added OnInit method to basecommand, virtual
Date Thu, 14 Mar 2013 22:30:43 GMT
added OnInit method to basecommand, virtual


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/aeb213b8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/aeb213b8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/aeb213b8

Branch: refs/heads/master
Commit: aeb213b824624312e321cbdb0f36c4a93b714073
Parents: b1f4e54
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Mar 12 17:07:04 2013 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Mar 12 17:07:04 2013 -0700

----------------------------------------------------------------------
 .../standalone/cordovalib/Commands/BaseCommand.cs  |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/aeb213b8/templates/standalone/cordovalib/Commands/BaseCommand.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/cordovalib/Commands/BaseCommand.cs b/templates/standalone/cordovalib/Commands/BaseCommand.cs
index f6e45da..f9942eb 100644
--- a/templates/standalone/cordovalib/Commands/BaseCommand.cs
+++ b/templates/standalone/cordovalib/Commands/BaseCommand.cs
@@ -111,6 +111,14 @@ namespace WPCordovaClassLib.Cordova.Commands
         {
         }
 
+        /// <summary>
+        /// Occurs when the application is being loaded, and the config.xml has an autoload
entry
+        /// </summary>    
+        public virtual void OnInit()
+        {
+
+        }
+
 
         /// <summary>
         /// Occurs when the application is being deactivated.


Mime
View raw message