Template class for a plain feature.

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


public class Template


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


See Also