public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Exchange, string Type, bool Passive, bool Durable, bool AutoDelete, bool Internal, bool Nowait, FieldTable Arguments)
        {
            ExchangeDeclareBody body = new ExchangeDeclareBody();

            body.Ticket     = Ticket;
            body.Exchange   = Exchange;
            body.Type       = Type;
            body.Passive    = Passive;
            body.Durable    = Durable;
            body.AutoDelete = AutoDelete;
            body.Internal   = Internal;
            body.Nowait     = Nowait;
            body.Arguments  = Arguments;

            AMQFrame frame = new AMQFrame();

            frame.Channel   = channelId;
            frame.BodyFrame = body;
            return(frame);
        }
 public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Exchange, string Type, bool Passive, bool Durable, bool AutoDelete, bool Internal, bool Nowait, FieldTable Arguments)
 {
     ExchangeDeclareBody body = new ExchangeDeclareBody();
     body.Ticket = Ticket;
     body.Exchange = Exchange;
     body.Type = Type;
     body.Passive = Passive;
     body.Durable = Durable;
     body.AutoDelete = AutoDelete;
     body.Internal = Internal;
     body.Nowait = Nowait;
     body.Arguments = Arguments;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }