private object onKeyFound(string name, object value, bool isExtension) { if (KeyFound == null) { return(value); } KeyFoundEventArgs args = new KeyFoundEventArgs(name, value, isExtension); KeyFound(this, args); return(args.Substitute); }
private object onKeyFound(string name, object value, bool shouldHtmlEscape = true) { if (KeyFound == null) { return(value); } KeyFoundEventArgs args = new KeyFoundEventArgs(name, value, shouldHtmlEscape); KeyFound(this, args); return(args.Substitute); }
private object onKeyFound(string name, object value) { if (KeyFound == null) { return value; } KeyFoundEventArgs args = new KeyFoundEventArgs(name, value); KeyFound(this, args); return args.Substitute; }