public static ImmutableArray <EndPoint> Get() { var endPoints = EndPointRegistry.Get(); return(endPoints.ToImmutableArray()); }
public void ShouldBeAbleToRegisterEndPoint() { EndPointRegistry.GetOrAdd(WellKnown.EndPoints.Free1); Assert.That(EndPointRegistry.Get().Any(), Is.True); }