Exemplo n.º 1
0
        public static ImmutableArray <EndPoint> Get()
        {
            var endPoints = EndPointRegistry.Get();

            return(endPoints.ToImmutableArray());
        }
Exemplo n.º 2
0
 public static void GetOrAdd(EndPoint registry)
 {
     EndPointRegistry.GetOrAdd(registry);
     Log.Out.Info($"Registry added {registry.ToUrl()}");
 }
Exemplo n.º 3
0
 public void ShouldBeAbleToRegisterEndPoint()
 {
     EndPointRegistry.GetOrAdd(WellKnown.EndPoints.Free1);
     Assert.That(EndPointRegistry.Get().Any(), Is.True);
 }