Exemple #1
0
 public static AMQConstant GetConstant(int code)
 {
    AMQConstant c = (AMQConstant)_codeMap[code];
    if ( c == null )
    {
       c = new AMQConstant(code, "unknown code", false);
    }
    return c;
 }
        public static AMQConstant GetConstant(int code)
        {
            AMQConstant c = (AMQConstant)_codeMap[code];

            if (c == null)
            {
                c = new AMQConstant(code, "unknown code", false);
            }
            return(c);
        }