Example #1
0
        //--------------------------------------------------------------------//
        //                                                        M e t h o d //
        // g e t T y p e                                                      //
        //--------------------------------------------------------------------//
        //                                                                    //
        // Return type of command.                                            //
        //                                                                    //
        //--------------------------------------------------------------------//

        public static eRequestType getType(eCmdIndex key)
        {
            return(_cmds[key.ToString()].Type);
        }
Example #2
0
        //--------------------------------------------------------------------//
        //                                                        M e t h o d //
        // g e t F o r m a t                                                  //
        //--------------------------------------------------------------------//
        //                                                                    //
        // Return format of command.                                          //
        //                                                                    //
        //--------------------------------------------------------------------//

        public static eCmdFormat getFormat(eCmdIndex key)
        {
            return(_cmds[key.ToString()].Format);
        }
Example #3
0
        //--------------------------------------------------------------------//
        //                                                        M e t h o d //
        // g e t N a m e                                                      //
        //--------------------------------------------------------------------//
        //                                                                    //
        // Return name associated with specified command.                     //
        //                                                                    //
        //--------------------------------------------------------------------//

        public static String getName(eCmdIndex key)
        {
            return(_cmds[key.ToString()].Name);
        }
Example #4
0
        //--------------------------------------------------------------------//
        //                                                        M e t h o d //
        // g e t D e s c                                                      //
        //--------------------------------------------------------------------//
        //                                                                    //
        // Return description associated with specified command.              //
        //                                                                    //
        //--------------------------------------------------------------------//

        public static String getDesc(eCmdIndex key)
        {
            return(_cmds[key.ToString()].Description);
        }