Beispiel #1
0
 //custom body
 //equals trait
 //hash code trait
 //pretty print
 public override void Print(PrettyPrinter printer)
 {
     printer.Println("InterningTestModel (");
     using (printer.IndentCookie()) {
         printer.Print("searchLabel = "); SearchLabel.PrintEx(printer); printer.Println();
         printer.Print("issues = "); _Issues.PrintEx(printer); printer.Println();
     }
     printer.Print(")");
 }
        //constants

        //custom body
        //methods
        //equals trait
        //hash code trait
        //pretty print
        public override void Print(PrettyPrinter printer)
        {
            printer.Println("SummonerModel (");
            using (printer.IndentCookie()) {
                printer.Print("myString = "); _MyString.PrintEx(printer); printer.Println();
                printer.Print("myBool = "); _MyBool.PrintEx(printer); printer.Println();
                printer.Print("myEnum = "); _MyEnum.PrintEx(printer); printer.Println();
                printer.Print("data = "); _Data.PrintEx(printer); printer.Println();
                printer.Print("myStructure = "); _MyStructure.PrintEx(printer); printer.Println();
            }
            printer.Print(")");
        }