protected virtual void SetUpProgramInfo()
 {
     ProgramInfo = new ProgramInfo
     {
         Title = "",
     };
 }
 protected override sealed void SetUpProgramInfo()
 {
     ProgramInfo = new ProgramInfo
     {
         Title = "Checking key value pair is null",
         Description = ""
     };
 }
Esempio n. 3
0
 protected override sealed void SetUpProgramInfo()
 {
     ProgramInfo = new ProgramInfo
     {
         Title = "Hello world program",
         Description = "Just a hello world"
     };
 }
Esempio n. 4
0
 private static void SetUpDesignEnvironment(ProgramInfo programInfo)
 {
     Console.Title = programInfo.Title;
     Console.BackgroundColor = programInfo.BackgroundColor;
     Console.ForegroundColor = programInfo.ForegroundColor;
     Console.WindowWidth = programInfo.WindowWidth;
     Console.WindowHeight = programInfo.WindowHeight;
 }