private void OnLoadedCommand(object obj) { actionContainer = obj as ActionContainer; if (project != null && mainVM.Data != null) { actionContainer.ImportActions(project.Actions); } }