A really useful empty and immutable annotation object.

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

Syntax

C#
public static readonly IAnnotation EMPTY_ANNOTATION

Remarks

Be careful when stooring Annotation arguments to constructors. It is possible that you have been passed EMPTY_ANNOTATION but that code later on will access this object believing it to be mutable. For example, the SeqIO factory code clones some Annotations passed in on Feature.Template instances

Use this instead of null when you really don't want an object or an implementation to have annotation even though it should implement IAnnotatable.

See Also