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#
public IFeature CreateFeature(
	IFeature f,
	Feature..::.Template projTempl
)

Parameters

f
Type: BioSharp.Core.Bio.Seq..::.IFeature

[Missing <param name="f"/> documentation for "M:BioSharp.Core.Bio.Seq.Projection.ReparentContext.CreateFeature(BioSharp.Core.Bio.Seq.IFeature,BioSharp.Core.Bio.Seq.Feature.Template)"]

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

Implements

IProjectionContext..::.CreateFeature(IFeature, Feature..::.Template)

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