Ejemplo n.º 1
0
        public Statement Create(string statementPath, Constants.CardCompanies company)
        {
            Statement statement = new Statement(statementPath, company);

            switch (company)
            {
            case Constants.CardCompanies.VPass:
                statement.SetConverter(new ConverterVPass(statement.Extension));
                break;

            default:
                statement = null;
                break;
            }
            return(statement);
        }
Ejemplo n.º 2
0
 public Statement(string statementPath, Constants.CardCompanies company)
 {
     this.statementPath = statementPath;
     this.company       = company;
     extension          = System.IO.Path.GetExtension(this.statementPath);
 }