Пример #1
0
        public static ImmutableArray <EndPoint> Get()
        {
            var endPoints = EndPointRegistry.Get();

            return(endPoints.ToImmutableArray());
        }
Пример #2
0
 public void ShouldBeAbleToRegisterEndPoint()
 {
     EndPointRegistry.GetOrAdd(WellKnown.EndPoints.Free1);
     Assert.That(EndPointRegistry.Get().Any(), Is.True);
 }