Наследование: IDisposable
Пример #1
0
        public HelpServer()
        {
            Manager = new HelpManager();

            _server = new HttpServer();
            _server.RequestReceived += _server_RequestReceived;
            _server.UnhandledException += _server_UnhandledException;
            _server.Start();
        }
Пример #2
0
        public HelpServer()
        {
            Manager = new HelpManager();

            _server = new HttpServer();
            _server.RequestReceived    += _server_RequestReceived;
            _server.UnhandledException += _server_UnhandledException;
            _server.Start();
        }
Пример #3
0
        public HelpSearchManager(HelpManager manager, string workDirectory)
        {
            if (manager == null)
                throw new ArgumentNullException("manager");
            if (workDirectory == null)
                throw new ArgumentNullException("workDirectory");

            _manager = manager;
            _workDirectory = workDirectory;
        }
Пример #4
0
        public HelpSearchManager(HelpManager manager, string workDirectory)
        {
            if (manager == null)
            {
                throw new ArgumentNullException("manager");
            }
            if (workDirectory == null)
            {
                throw new ArgumentNullException("workDirectory");
            }

            _manager       = manager;
            _workDirectory = workDirectory;
        }