/// <summary> /// Raises the <see cref="E:EnvironmentAssemblySaved"/> event. /// </summary> /// <param name="e">The <see cref="DG.BotWorld.Hosting.EnvironmentAssemblySavedEventArgs"/> instance containing the event data.</param> protected virtual void OnEnvironmentAssemblySaved(EnvironmentAssemblySavedEventArgs e) { if (EnvironmentAssemblySaved != null) { EnvironmentAssemblySaved(this, e); } }
void Host_EnvironmentAssemblySaved(object sender, DG.BotWorld.Hosting.EnvironmentAssemblySavedEventArgs e) { //EnvironmentPersister.SaveEnvironment(e.Environment.Name); }