Template class for a plain feature.
Namespace:
BioSharp.Core.Bio.SeqAssembly: BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)
Syntax
C# |
---|
public class Template |
Remarks
This just has fields for representing the properties of a basic Feature. Each sub-interface should provide a template class that inherits off this, and the constructor or factory methods should make a particular feature implementation from the template.
The Equals(), GetHashCode(), ToString() and Populate() methods are defined such that two templates are equal if all their fields are equal. These are implemented by reflection, and automatically pick up any extra fields added in subclasses.
Inheritance Hierarchy
System..::.Object
BioSharp.Core.Bio.Seq..::.Feature..::.Template
BioSharp.Core.Bio.Seq..::.StrandedFeature..::.Template
BioSharp.Core.Bio.Seq..::.Feature..::.Template
BioSharp.Core.Bio.Seq..::.StrandedFeature..::.Template