SetFormat() public method

public SetFormat ( string format ) : void
format string
return void
        public void setUp()
        {
            mManager = new CsvAccountManager();

            mRule = new CsvRule();
            mRule.firstLine = "FIRST_LINE";
            mRule.SetFormat("Date,Income,Balance,Desc,Memo");
            mManager.addRule(mRule);

            mTempFileName = Path.GetTempFileName();
            mSw = new StreamWriter(mTempFileName, false, System.Text.Encoding.Default);
        }
Exemplo n.º 2
0
        public void setUp()
        {
            mAccount = new CsvAccount();
            mAccount.branchId = "0";
            mAccount.accountId = "0";

            mRule = new CsvRule();
            mRule.firstLine = "FIRST_LINE";
            mRule.SetFormat("Date,Income,Balance,Desc,Memo");

            mTempFileName = Path.GetTempFileName();
            mSw = new StreamWriter(mTempFileName, false, System.Text.Encoding.Default);
        }