protected EndpointBase(IServiceHostBase host) { if (host == null) throw new ArgumentNullException("host"); m_host = host; m_server = host.Server; SupportedServices = new Dictionary<ExpandedNodeId,ServiceDefinition>(); }