static private GetInputData ( string file, TextFormat fmt ) : List |
||
file | string | |
fmt | TextFormat | |
Résultat | List |
internal static List<Point> GetInputData(string file, TextFormat fmt)
{
if (fmt == TextFormat.csv)
{
return GetCsvData(file);
}
if (fmt == TextFormat.vic)
{
return GetVicData(file);
}
return new List<Point> { };
}