예제 #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)));
 }
예제 #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)));
 }