Assembly: BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)
public sealed class ChangeType
Note that all ChangeType objects must be accessible
via a public static field of some class or interface. These should
be specified at construction time, so that the ChangeType can
be properly serialized. Typically, they should be constructed
using code like:
public static readonly ChangeType CHANGE_COLOR = new ChangeType(
// Rest of the class here...
The known ChangeTypes of a system follow a simple
hierarchy with single inheritance. All ChangeTypes
(except ChangeType.UNKNOWN) have a parent ChangeType (defaulting
to ChangeType.UNKNOWN). Generally, when a listener is registered
for changetype foo, changes of type bar
should be accepted if bar is a sub-type of foo.
This can be checked using an expression like:
Original BioJava version by Thomas Down and Matthew Pocock. Port to C# by Doug Swisher.