protected virtual string OnAfterParse(string text) { if (this.AfterParse != null) { TransformerEventArgs e = new TransformerEventArgs(text); this.AfterParse(this, e); return e.Text; } return text; }
protected virtual string OnAfterParse(string text) { if (this.AfterParse != null) { TransformerEventArgs e = new TransformerEventArgs(text); this.AfterParse(this, e); return(e.Text); } return(text); }
protected virtual string OnAfterVariablesReplacing(string text) { if (this.AfterVariablesReplacing != null) { TransformerEventArgs e = new TransformerEventArgs(text); this.AfterVariablesReplacing(this, e); return e.Text; } return text; }
protected virtual string OnAfterVariablesReplacing(string text) { if (this.AfterVariablesReplacing != null) { TransformerEventArgs e = new TransformerEventArgs(text); this.AfterVariablesReplacing(this, e); return(e.Text); } return(text); }