Akka.Cluster.Tools.PublishSubscribe.Serialization.DistributedPubSubMessageSerializer.SendToAllToProto C# (CSharp) Method

SendToAllToProto() private method

private SendToAllToProto ( SendToAll sendToAll ) : Akka.Cluster.PubSub.Serializers.Proto.SendToAll
sendToAll SendToAll
return Akka.Cluster.PubSub.Serializers.Proto.SendToAll
        private Akka.Cluster.PubSub.Serializers.Proto.SendToAll SendToAllToProto(SendToAll sendToAll)
        {
            return Akka.Cluster.PubSub.Serializers.Proto.SendToAll.CreateBuilder()
                .SetPath(sendToAll.Path)
                .SetAllButSelf(sendToAll.ExcludeSelf)
                .SetPayload(PayloadToProto(sendToAll.Message))
                .Build();
        }