void SaveDispatchedActionName <TAction>(TAction action) where TAction : IAction { State state = GetState(); state.LastDispatchedActionName = action.GetType().Name; IGraphModel vsStateCurrentGraphModel = state.CurrentGraphModel; vsStateCurrentGraphModel?.ResetChanges(); state.lastActionUIRebuildType = State.UIRebuildType.None; }