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

                return e.Text;
            }

            return text;
        }
Esempio n. 4
0
        protected virtual string OnAfterVariablesReplacing(string text)
        {
            if (this.AfterVariablesReplacing != null)
            {
                TransformerEventArgs e = new TransformerEventArgs(text);
                this.AfterVariablesReplacing(this, e);

                return(e.Text);
            }

            return(text);
        }