//pretty print public void Print(PrettyPrinter printer) { printer.Println("RdXamlStylerFormattingResult ("); using (printer.IndentCookie()) { printer.Print("isSuccess = "); IsSuccess.PrintEx(printer); printer.Println(); printer.Print("hasUpdated = "); HasUpdated.PrintEx(printer); printer.Println(); printer.Print("formattedText = "); FormattedText.PrintEx(printer); printer.Println(); } printer.Print(")"); }
//hash code trait public override int GetHashCode() { unchecked { var hash = 0; hash = hash * 31 + IsSuccess.GetHashCode(); hash = hash * 31 + HasUpdated.GetHashCode(); hash = hash * 31 + FormattedText.GetHashCode(); return(hash); } }