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