public static PingArg Pong(PingArg arg, bool active, object notnull) { if (notnull == null) { throw new ArgumentException(nameof(notnull)); } return(new PingArg { Message = "/PONG" }); }
private static PingArg Pong(PingArg arg) { return(new PingArg { Message = arg.Message + "/PONG" }); }