[Quantproject-developers] QuantProject/b7_Scripts/General BasicScriptForBacktesting.cs, 1.4, 1.5
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-12-10 19:28:47
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/General In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13709/b7_Scripts/General Modified Files: BasicScriptForBacktesting.cs Log Message: a new method protected virtual void doThisBeforeAnythingElse() has been added. Override this method if you need to do anything that will be used the other abstract methods (that are invoked later); this method is invoked before all the other methods Index: BasicScriptForBacktesting.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/General/BasicScriptForBacktesting.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** BasicScriptForBacktesting.cs 29 Sep 2008 21:17:03 -0000 1.4 --- BasicScriptForBacktesting.cs 10 Dec 2008 19:28:35 -0000 1.5 *************** *** 58,61 **** --- 58,62 ---- public BasicScriptForBacktesting() { + this.doThisBeforeAnythingElse(); string pathForTheMainFolderWhereScriptsResultsAreToBeSaved = this.getPathForTheMainFolderWhereScriptsResultsAreToBeSaved(); *************** *** 72,75 **** --- 73,86 ---- fullPathFileNameForMain ); } + + /// <summary> + /// override this method if you need to do anything that will be used + /// by the other abstract methods (that are invoked later); this method + /// is invoked before all the other methods + /// </summary> + protected virtual void doThisBeforeAnythingElse() + { + ; + } /// <summary> |