public Segment(string type = "", Delimiters delim = null) : base(delim) { m_fields = new SortedDictionary <int, SortedDictionary <int, Field> >(); m_fields[0] = new SortedDictionary <int, Field>(); m_fields[0][1] = new Field(m_delimiters); m_fields[0][1].AsString = type; }
public Message(Delimiters delim = null) : base(delim) { //if we don't pass in class definining the delimiters, //The base creates its own using default values //create an empty list used to store the segments m_segments = new List <Segment>(); }
public Field(Delimiters delim = null) : base(delim) { m_components = new SortedDictionary <int, Component>(); }
public Component(Delimiters delim = null) : base(delim) { m_subcomponents = new SortedDictionary <int, Subcomponent>(); }
public MessageObject(Delimiters delim = null) : base() { m_delimiters = (delim == null) ? new Delimiters() : delim; }
public Subcomponent(string value = "", Delimiters delim = null) : base(delim) { _value = value; }