/// <summary> /// Initializes the node manager. /// </summary> public HistoricalEventsNodeManager(IServerInternal server, ApplicationConfiguration configuration) : base(server, configuration) { SystemContext.NodeIdFactory = this; // set one namespace for the type model and one names for dynamically created nodes. string[] namespaceUrls = new string[1]; namespaceUrls[0] = Namespaces.HistoricalEvents; SetNamespaces(namespaceUrls); // get the configuration for the node manager. m_configuration = configuration.ParseExtension <HistoricalEventsServerConfiguration>(); // use suitable defaults if no configuration exists. if (m_configuration == null) { m_configuration = new HistoricalEventsServerConfiguration(); } // initilize the report generator. m_generator = new ReportGenerator(); m_generator.Initialize(); }
/// <summary> /// Initializes the node manager. /// </summary> public HistoricalEventsNodeManager(IServerInternal server, ApplicationConfiguration configuration) : base(server, configuration) { SystemContext.NodeIdFactory = this; // set one namespace for the type model and one names for dynamically created nodes. string[] namespaceUrls = new string[1]; namespaceUrls[0] = Namespaces.HistoricalEvents; SetNamespaces(namespaceUrls); // get the configuration for the node manager. m_configuration = configuration.ParseExtension<HistoricalEventsServerConfiguration>(); // use suitable defaults if no configuration exists. if (m_configuration == null) { m_configuration = new HistoricalEventsServerConfiguration(); } // initilize the report generator. m_generator = new ReportGenerator(); m_generator.Initialize(); }