Install a new mapping from a class of FeatureTemplate to a class of IFeature implementations. The implementation class MUST have a public constructor of the form (ISequence, IFeatureHolder, FeatureTemplate).

Namespace:  BioSharp.Core.Bio.Seq
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
public void AddImplementation(
	Type template,
	Type impl
)

Parameters

template
Type: System..::.Type
The class of templates to implement.
impl
Type: System..::.Type
A class of IFeature which can be used to implement these templates.

Remarks

A newly added implementation takes precendence over any existing implementations if a template can be realized by more than one implementation.

See Also