A Code Sample

Here I explain how to use QInjection.

Suppose you have a data provider, a class, a service or some other software components that provides you a collection of integers.
This post explain how to apply a runtime lambda expression over this data collection using QInjection.

In order to use QInjection:

You have to implement a class that act as Data Provider Bridge of the data collection, this class have to implement the interface
IQProvider<T> where T is the type of the items (int in this example)

You have to instantiate the QInjector object and then:

Define the validation RULE

Validate the expression

Execute the expression on your Data Provider Bridge (this one will act as
container of the runtime injected code).