Exemplo n.º 1
0
        private static string GetMessage(AbstractFunction senderFunction, AbstractMailrelayReply reply, string targetUrl)
        {
            string parameters = senderFunction.ToGet();
            string error      = reply.error;

            return($"{senderFunction.GetType().Name}{Environment.NewLine}	Url:{targetUrl}{Environment.NewLine}	Parameters:{parameters}{Environment.NewLine}	Error:{error}");
        }
Exemplo n.º 2
0
        private static string GetMessage(AbstractFunction senderFunction, string targetUrl)
        {
            string parameters = senderFunction.ToGet();

            return($"{senderFunction.GetType().Name}{Environment.NewLine}	Url:{targetUrl}{Environment.NewLine}	Parameters:{parameters}{Environment.NewLine}");
        }