Akka.Routing.ConsistentHashingPool.ToSurrogate C# (CSharp) Метод

ToSurrogate() публичный Метод

Creates a surrogate representation of the current ConsistentHashingPool.
public ToSurrogate ( ActorSystem system ) : ISurrogate
system ActorSystem The actor system that owns this router.
Результат ISurrogate
        public override ISurrogate ToSurrogate(ActorSystem system)
        {
            return new ConsistentHashingPoolSurrogate
            {
                NrOfInstances = NrOfInstances,
                UsePoolDispatcher = UsePoolDispatcher,
                Resizer = Resizer,
                SupervisorStrategy = SupervisorStrategy,
                RouterDispatcher = RouterDispatcher,
            };
        }
    }