public static void FillMementoWithStateName(ILQHsmMemento memento, ILQHsm hsm, string currentStateName) { FillMementoWithStateName (memento, hsm.GetType (), currentStateName, hsm); }