Exemplo n.º 1
0
    //Loads the Key Value Pair from the current pointer in the table
    static ImportedDataPoint GetDataPoint(ImportedTable _table)
    {
        ImportedDataPoint p = new ImportedDataPoint();

        string[] pair = _table.GetKeyValuePair();
        if (pair == null)
        {
            return(null);
        }


        p.key   = pair[0];
        p.value = pair[1];

        return(p);
    }
 public void AddDataPoint(ImportedDataPoint d)
 {
     data.Add(d);
 }
 public void AddDataPoint(ImportedDataPoint d)
 {
     data.Add(d);
 }
Exemplo n.º 4
0
    //Loads the Key Value Pair from the current pointer in the table
    static ImportedDataPoint GetDataPoint(ImportedTable _table)
    {
        ImportedDataPoint p = new ImportedDataPoint();

        string[] pair = _table.GetKeyValuePair();
        if(pair == null) return null;

        p.key = pair[0];
        p.value = pair[1];

        return p;
    }