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

ToSurrogate() public method

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