Create a new projected feature.
Namespace:
BioSharp.Core.Bio.Seq.ProjectionAssembly: 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 projParentRemarks
See the notes for CreateFeature(Feature.Template) for implementation advice.
Exceptions
Exception | Condition |
---|---|
BioSharp.Core.Bio..::.BioException | if there was a problem instantiating the template |
BioSharp.Core.Utils..::.ChangeVetoException | if the feature creation was vetoed |