Exemplo n.º 1
0
        public static PingArg Pong(PingArg arg, bool active, object notnull)
        {
            if (notnull == null)
            {
                throw new ArgumentException(nameof(notnull));
            }

            return(new PingArg {
                Message = "/PONG"
            });
        }
Exemplo n.º 2
0
 private static PingArg Pong(PingArg arg)
 {
     return(new PingArg {
         Message = arg.Message + "/PONG"
     });
 }