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