public void Before(InterceptorBeforeEventArgs args) { switch (args.Command._command) { case "PING": return; } if (args.Command._command == "GET" && _dicStrings.TryGetValue(args.Command._flagKey[0], out var tryval)) { args.Value = tryval; _iscached = true; } }
public void Before(InterceptorBeforeEventArgs args) { switch (args.Command._command) { case "GET": if (_dicStrings.TryGetValue(args.Command.GetKey(0), out var tryval)) { args.Value = tryval; _iscached = true; } break; } }