예제 #1
0
		public DictionaryServiceProvider(LexEntryRepository lexEntryRepository,
										 WeSayApp app,
										 WeSayWordsProject project)
		{
			_app = app;
			_project = project;
			_registeredClientProcessIds = new List<int>();
			_lexEntryRepository = lexEntryRepository;
			_articleMaker = new HtmlArticleMaker(_project.LocateFile("WritingSystemPrefs.xml"),
												 _project.LocateFile("PartsOfSpeech.xml"));
		}
		public void CommandLineArgRequestsServerMode()
		{
			WeSayApp app = new WeSayApp(new string[] {"-server"});
			Assert.IsTrue(app.ServerModeStartRequested);
		}