Пример #1
0
        public static IRedactor BeforeProcess(this RedactorProcessEvents obj, Func <string, string> function)
        {
            obj.BeforeProcess = function;

            return(obj);
        }
Пример #2
0
        public static IRedactor BeforeProcessMatch(this RedactorProcessEvents obj, Func <string, IRedactorMatch, IRedactorMatch> function)
        {
            obj.BeforeProcessMatch = function;

            return(obj);
        }