To map a generic method in the BOM, you pass generic parameters to the corresponding method in the extender class and then generate a .NET DLL.
If, for a generic method in the BOM, the mapping algorithm can find no corresponding generic method in the XOM, the mapping algorithm looks for it in the extender class, if you have provided one.
For example, for generic methods in a generic class, the corresponding extender method must have these parameters:
The generic parameters that match those of the generic class
The generic parameters that match those of the generic method
To map a generic method:
class Link<A,B> {
<C,D> A doSomething(C c, D d);
}
Pass four generic parameters to the corresponding method in the extender class:
class LinkExtender {
public static A DoSomething<A,B,C,D>(Link<A, B> l, C c, D d) {...}
}
After you have mapped the BOM to the .NET XOM, you generate a .NET DLL.
Next: Generating a .NET DLL using the Ruleset Archive Assembly Packager.