Пример #1
0
 protected virtual void SetUpProgramInfo()
 {
     ProgramInfo = new ProgramInfo
     {
         Title = "",
     };
 }
Пример #2
0
 protected override sealed void SetUpProgramInfo()
 {
     ProgramInfo = new ProgramInfo
     {
         Title = "Checking key value pair is null",
         Description = ""
     };
 }
Пример #3
0
 protected override sealed void SetUpProgramInfo()
 {
     ProgramInfo = new ProgramInfo
     {
         Title = "Hello world program",
         Description = "Just a hello world"
     };
 }
Пример #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;
 }