RunMenu() 공개 정적인 메소드

public static RunMenu ( IList menu, IEnumerator input = null ) : int
menu IList
input IEnumerator
리턴 int
예제 #1
0
파일: Program.cs 프로젝트: jonathanvdc/Loyc
 public static void Main(string[] args)
 {
     // Workaround for MS bug: Assert(false) will not fire in debugger
     Debug.Listeners.Clear();
     Debug.Listeners.Add(new DefaultTraceListener());
     RunCoreTests.RunMenu(Menu);
 }
예제 #2
0
 public static void Main(string[] args)
 {
     // Workaround for MS bug: Assert(false) will not fire in debugger
     Debug.Listeners.Clear();
     Debug.Listeners.Add(new DefaultTraceListener());
     if (RunCoreTests.RunMenu(Menu, args.Length > 0 ? args[0].GetEnumerator() : null) > 0)
     {
         // Let the outside world know that something
         // went wrong by setting the exit code to
         // '1'. This is particularly useful for
         // automated tests (CI).
         Environment.ExitCode = 1;
     }
 }