Ejemplo n.º 1
0
        public CanCauseError <string> Replace(string textToEdit)
        {
            StringBuilder textToEdit1 = new StringBuilder(textToEdit);

            CanCauseError canCauseError = this.Replace(textToEdit1);

            if (canCauseError.CausedError)
            {
                return(CanCauseError <string> .Error(canCauseError.ToString()));
            }

            return(CanCauseError <string> .NoError(textToEdit1.ToString()));
        }