CQRSalad.Dispatching.Descriptors.DefaultDispatcherHandlerDescriptorsBuilder.CreateHandlerDescriptors C# (CSharp) Method

CreateHandlerDescriptors() public method

public CreateHandlerDescriptors ( IEnumerable handlerTypes ) : IEnumerable
handlerTypes IEnumerable
return IEnumerable
        public IEnumerable<HandlerDescriptor> CreateHandlerDescriptors(IEnumerable<TypeInfo> handlerTypes)
        {
            return handlerTypes.Select(handlerType => new HandlerDescriptor(handlerType, _priorityProvider.GetHandlerPriority(handlerType)));
        }
    }