Exemplo n.º 1
0
 protected QuickRestartSpec(QuickRestartSpecConfig config) : base(config)
 {
     _config    = config;
     _seedNodes = new Lazy <ImmutableList <Address> >(() => ImmutableList <Address> .Empty
                                                      .Add(GetAddress(_config.First))
                                                      .Add(GetAddress(_config.Second))
                                                      .Add(GetAddress(_config.Third)));
 }
Exemplo n.º 2
0
 protected QuickRestartSpec(QuickRestartSpecConfig config) : base(config)
 {
     _config = config;
     _seedNodes = new Lazy<ImmutableList<Address>>(() => ImmutableList<Address>.Empty
     .Add(GetAddress(_config.First))
     .Add(GetAddress(_config.Second))
     .Add(GetAddress(_config.Third)));
 }