Code.FinancialDesignPatterns.IConsumer.Match(System.Collections.Generic.List)

Here are the examples of the csharp api class Code.FinancialDesignPatterns.IConsumer.Match(System.Collections.Generic.List) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
List<Match<T, TC>> Match<T, TC>(
            List<Matchable<T, TC>> input,
            IEnumerable<IConsumer<T, TC>> consumers) {

            var processedList = input;

            foreach (var consumer in consumers) {
                if (!processedList.Any())
                    break;

                processedList = consumer.Match(input);
            }

            return null;
        }