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# |
---|
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 projParentImplements
IProjectionContext..::.CreateFeature(IFeature, Feature..::.Template)Remarks
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 |