Example #1
0
 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;
 }
Example #2
0
        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>();
        }
Example #3
0
 public Field(Delimiters delim = null)
     : base(delim)
 {
     m_components = new SortedDictionary <int, Component>();
 }
Example #4
0
 public Component(Delimiters delim = null)
     : base(delim)
 {
     m_subcomponents = new SortedDictionary <int, Subcomponent>();
 }
Example #5
0
 public MessageObject(Delimiters delim = null)
     : base()
 {
     m_delimiters = (delim == null) ? new Delimiters() : delim;
 }
Example #6
0
 public Subcomponent(string value = "", Delimiters delim = null)
     : base(delim)
 {
     _value = value;
 }