Rename framework events to OnFramework<Event>

This more closely follows existing conventions.
This commit is contained in:
Michael Handschuh
2017-12-08 12:00:55 -05:00
parent c264132447
commit 39f5080a40
5 changed files with 16 additions and 16 deletions
@@ -709,11 +709,11 @@ namespace QuantConnect.AlgorithmFactory.Python.Wrappers
/// Used to send data updates to algorithm framework models
/// </summary>
/// <param name="slice">The current data slice</param>
public void FrameworkOnData(Slice slice)
public void OnFrameworkData(Slice slice)
{
using (Py.GIL())
{
_algorithm.FrameworkOnData(slice);
_algorithm.OnFrameworkData(slice);
}
}
@@ -884,11 +884,11 @@ namespace QuantConnect.AlgorithmFactory.Python.Wrappers
/// Used to send security changes to algorithm framework models
/// </summary>
/// <param name="changes">Security additions/removals for this time step</param>
public void FrameworkOnSecuritiesChanged(SecurityChanges changes)
public void OnFrameworkSecuritiesChanged(SecurityChanges changes)
{
using (Py.GIL())
{
_algorithm.FrameworkOnSecuritiesChanged(changes);
_algorithm.OnFrameworkSecuritiesChanged(changes);
}
}