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

ToSurrogate() public method

Creates a surrogate representation of the current TailChoppingGroup.
public ToSurrogate ( ActorSystem system ) : ISurrogate
system ActorSystem The actor system that owns this router.
return ISurrogate
        public override ISurrogate ToSurrogate(ActorSystem system)
        {
            return new TailChoppingGroupSurrogate
            {
                Paths = Paths,
                Within = _within,
                Interval = _interval,
            };
        }