/// <summary> /// Initializes the node manager. /// </summary> public MethodsNodeManager(IServerInternal server, ApplicationConfiguration configuration) : base(server, configuration, Namespaces.Methods) { SystemContext.NodeIdFactory = this; // get the configuration for the node manager. m_configuration = configuration.ParseExtension<MethodsServerConfiguration>(); // use suitable defaults if no configuration exists. if (m_configuration == null) { m_configuration = new MethodsServerConfiguration(); } }
/// <summary> /// Initializes the node manager. /// </summary> public MethodsNodeManager(IServerInternal server, ApplicationConfiguration configuration) : base(server, configuration, Namespaces.Methods) { SystemContext.NodeIdFactory = this; // get the configuration for the node manager. m_configuration = configuration.ParseExtension <MethodsServerConfiguration>(); // use suitable defaults if no configuration exists. if (m_configuration == null) { m_configuration = new MethodsServerConfiguration(); } }