Create a new projected feature.

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

Syntax

C#
IFeature CreateFeature(
	IFeature projParent,
	Feature..::.Template projTempl
)

Parameters

projParent
Type: BioSharp.Core.Bio.Seq..::.IFeature
the parent for the newly created feature
projTempl
Type: BioSharp.Core.Bio.Seq..::.Feature..::.Template
the Feature.Template specifying the new feature

Return Value

a new ProjectedFeature that is a child of projParent

Remarks

See the notes for CreateFeature(Feature.Template) for implementation advice.

Exceptions

ExceptionCondition
BioSharp.Core.Bio..::.BioExceptionif there was a problem instantiating the template
BioSharp.Core.Utils..::.ChangeVetoExceptionif the feature creation was vetoed

See Also