public List<Endpoint> GetEndpoints() { if (null == endpoints) { endpoints = iendpoints.GetEndpoints(); } return endpoints; }