protected override void Visit(BoldText bold) { Result = "\\textbf{" + bold.Text + "}"; }
public string Convert(BoldText bold) { return("\\textbf{" + bold.Text + "}"); }
public string Convert(BoldText bold) { return(bold.Text); }
protected override void Visit(BoldText bold) { Result = "**" + bold.Text + "**"; }
protected abstract string Visit(BoldText part);
public string ConvertBoldText(BoldText text) { return("\\textbf{" + text.Text + "}"); }
protected override void Visit(BoldText bold) { Result = "<b>" + bold.Text + "</b>"; }
public string Convert(BoldText bold) { return("<b>" + bold.Text + "</b>"); }
public abstract string Convert(BoldText boldText);
protected abstract void Visit(BoldText bold);
public string ConvertBoldText(BoldText text) { return("**" + text.Text + "**"); }
public string ConvertBoldText(BoldText text) { return("<b>" + text.Text + "</b>"); }