public static void RegisterCommandCreator(FRAMECMD_ID_DEF CmdID, Type CmdType, CreatorDelegate Creator) { FrameCommandFactory.s_CommandCreator[CmdID] = Creator; FrameCommandFactory.s_CommandTypeDef.Add(CmdType, CmdID); }
public static void RegisterCommandCreator(FRAMECMD_ID_DEF CmdID, System.Type CmdType, CreatorDelegate Creator) { s_CommandCreator[(int)CmdID] = Creator; s_CommandTypeDef.Add(CmdType, CmdID); }