Ejemplo n.º 1
0
 //equals trait
 //hash code trait
 //pretty print
 public override void Print(PrettyPrinter printer)
 {
     printer.Println("UnityLogModelInitialized (");
     using (printer.IndentCookie()) {
         printer.Print("log = "); _Log.PrintEx(printer); printer.Println();
     }
     printer.Print(")");
 }
Ejemplo n.º 2
0
 //custom body
 //equals trait
 //hash code trait
 //pretty print
 public override void Print(PrettyPrinter printer)
 {
     printer.Println("InterningMtModel (");
     using (printer.IndentCookie()) {
         printer.Print("searchLabel = "); SearchLabel.PrintEx(printer); printer.Println();
         printer.Print("signaller = "); _Signaller.PrintEx(printer); printer.Println();
     }
     printer.Print(")");
 }
        //constants

        //custom body
        //equals trait
        //hash code trait
        //pretty print
        public override void Print(PrettyPrinter printer)
        {
            printer.Println("HotReloadPluginModel (");
            using (printer.IndentCookie()) {
                printer.Print("reload = "); _Reload.PrintEx(printer); printer.Println();
                printer.Print("enable = "); _Enable.PrintEx(printer); printer.Println();
                printer.Print("isEnabled = "); _IsEnabled.PrintEx(printer); printer.Println();
                printer.Print("showMessage = "); _ShowMessage.PrintEx(printer); printer.Println();
            }
            printer.Print(")");
        }
Ejemplo n.º 4
0
 //custom body
 //equals trait
 //hash code trait
 //pretty print
 public override void Print(PrettyPrinter printer)
 {
     printer.Println("RdOtState (");
     using (printer.IndentCookie()) {
         printer.Print("operation = "); _Operation.PrintEx(printer); printer.Println();
         printer.Print("ack = "); _Ack.PrintEx(printer); printer.Println();
         printer.Print("assertedMasterText = "); _AssertedMasterText.PrintEx(printer); printer.Println();
         printer.Print("assertedSlaveText = "); _AssertedSlaveText.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(")");
        }
 //custom body
 //equals trait
 //hash code trait
 //pretty print
 public override void Print(PrettyPrinter printer)
 {
     printer.Println("UnitTestLaunch (");
     using (printer.IndentCookie()) {
         printer.Print("testNames = "); TestNames.PrintEx(printer); printer.Println();
         printer.Print("testGroups = "); TestGroups.PrintEx(printer); printer.Println();
         printer.Print("testCategories = "); TestCategories.PrintEx(printer); printer.Println();
         printer.Print("testResult = "); _TestResult.PrintEx(printer); printer.Println();
         printer.Print("runResult = "); _RunResult.PrintEx(printer); printer.Println();
     }
     printer.Print(")");
 }