Akka.Tests.Routing.TailChoppingSpec.AllShouldEqual C# (CSharp) Метод

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

public AllShouldEqual ( int what, IEnumerable actors ) : Func,bool>
what int
actors IEnumerable
Результат Func,bool>
        public Func<Func<IActorRef, int>, bool> AllShouldEqual(int what, IEnumerable<IActorRef> actors)
        {
            return func =>
            {
                var results = actors.Select(func);
                return results.All(x => x == what);
            };
        }