示例#1
0
	FilenamePair ParseLine( string line )
	{
		var parts = line.Split(new char[] {'|'});
		if( parts.Length != 3 )
			return null;

		var pair = new FilenamePair();
		pair.Input = parts[0];
		pair.Output = parts[1];
		return pair;
	}
示例#2
0
    FilenamePair ParseLine(string line)
    {
        var parts = line.Split(new char[] { '|' });

        if (parts.Length != 3)
        {
            return(null);
        }

        var pair = new FilenamePair();

        pair.Input  = parts[0];
        pair.Output = parts[1];
        return(pair);
    }