CellsAutomate.Mutator.Mutations.ReplaceCommandMutation.GetHandlerOfType C# (CSharp) Method

GetHandlerOfType() private method

private GetHandlerOfType ( Type type ) : ICommand>.Func
type System.Type
return ICommand>.Func
        private Func<int, ICommand> GetHandlerOfType(Type type)
        {
            return _handlers.Find(handler => handler.Method.ReturnType == type);
        }