コード例 #1
0
 public NetworkNode startNodeProcess()
 {
     if (!File.Exists(configurationFilePath))
     {
         Console.WriteLine("Check your configuration file ");
         Console.WriteLine("your default config file path is {0} ", configurationFilePath);
         return null;
     }
     ElementConfigurator configManager = new ElementConfigurator(configurationFilePath);
     return configManager.configureNode();
 }
コード例 #2
0
        public NetworkNode  startNodeProcess()
        {
            if (!File.Exists(configurationFilePath))
            {
                Console.WriteLine("Check your configuration file ");
                Console.WriteLine("your default config file path is {0} ", configurationFilePath);
                return(null);
            }
            ElementConfigurator configManager = new ElementConfigurator(configurationFilePath);

            return(configManager.configureNode());
        }