예제 #1
0
 public HomeController(IAdviser adviser, IConfigurationManager configManager)
 {
     _adviser       = adviser;
     _configManager = configManager;
 }
예제 #2
0
파일: MyBot.cs 프로젝트: rhiensch/pwbot
		private void RunAdviser(IAdviser adviser)
		{
			if (setList == null) setList = new List<MovesSet>();

			List<MovesSet> moves = adviser.RunAll();

			setList.AddRange(moves);
		}