예제 #1
0
 public ClientDispatcher(ClientUIHanlder uiHandler, DisplayExecutive display, DependencyHandler depHandler)
 {
     // TODO: Complete member initialization
     this.uiHandler  = uiHandler;
     this.display    = display;
     this.depHandler = depHandler;
 }
예제 #2
0
 public ClientExecutive(string configurationFilePath)
 {
     loader     = new ConfigurationLoader(configurationFilePath);
     uiHandler  = new ClientUIHanlder(loader);
     display    = new GUIDisplayExecutive(uiHandler, configurationFilePath);
     depHandler = new DependencyHandler(loader, display, uiHandler);
     dispatcher = new ClientDispatcher(uiHandler, display, depHandler);
 }
예제 #3
0
        static void Main(string[] args)
        {
            string configFilePath          = args[0];
            ConfigurationLoader loader     = new ConfigurationLoader(configFilePath);
            ClientUIHanlder     uiHandler  = new ClientUIHanlder(loader);
            GUIDisplayExecutive display    = new GUIDisplayExecutive(uiHandler, configFilePath);
            DependencyHandler   depHandler = new DependencyHandler(loader, display, uiHandler);

            Message msg = new Message();

            depHandler.OnAnalyzeResultReceived(msg);
        }