Akka.Routing.RoundRobinGroup.ToSurrogate C# (CSharp) Method

ToSurrogate() public method

Creates a surrogate representation of the current RoundRobinGroup.
public ToSurrogate ( ActorSystem system ) : ISurrogate
system ActorSystem The actor system that owns this router.
return ISurrogate
        public override ISurrogate ToSurrogate(ActorSystem system)
        {
            return new RoundRobinGroupSurrogate
            {
                Paths = Paths,
            };
        }