Intercept the values associated with some tags and change them systematically.
Namespace:
BioSharp.Core.Bio.Program.TagValueAssembly: BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)
Syntax
C# |
---|
public class ValueChanger : SimpleTagValueWrapper |
Remarks
The two forms of changes that can be made are:
- replace a single value with a new single value (e.g. changing the string "1.87" into a double object)
- split a single value into multiple values and pass each one individualy on to the delegate e.g. "a, b, c" becomes three values "a", "b", "c".
For a given tag, changers take precendence over splitters, and explicitly registered changers or splitters take precendence over the default handlers. If there is not a specific handler for a tag and there is no default set, then the value is passed on unchanged.
Original BioJava version by Matthew Pocock. Port to C# by Doug Swisher.
Inheritance Hierarchy
System..::.Object
BioSharp.Core.Bio.Program.TagValue..::.SimpleTagValueWrapper
BioSharp.Core.Bio.Program.TagValue..::.ValueChanger
BioSharp.Core.Bio.Program.TagValue..::.SimpleTagValueWrapper
BioSharp.Core.Bio.Program.TagValue..::.ValueChanger