C# Class FeliCa2Money.CsvAccountManager

CSVアカウントマネージャ
Mostrar archivo Open project: tmurakam/felica2money Class Usage Examples

Public Methods

Method Description
AddAccount ( CsvAccount account ) : void

アカウント追加

Count ( ) : int
CsvAccountManager ( ) : System
DeleteAccount ( CsvAccount account ) : void

アカウント削除 注意: account は、すでに存在するアカウントである必要がある

DownAccount ( int index ) : void
GetAt ( int index ) : CsvAccount
IndexOf ( CsvAccount account ) : int
LoadAllRules ( ) : bool

CSVルールを読み込む

ModifyAccount ( CsvAccount account ) : void

アカウント変更 注意: account は、すでに存在するアカウントである必要がある

SelectAccount ( string path ) : CsvAccount

CSVアカウントを選択

UpAccount ( int index ) : void
addRule ( CsvRule rule ) : void

ルールを追加する (単体テスト用)

findMatchingRuleForCsv ( string path ) : CsvRule

マッチする CSV ルールを探す

getNames ( ) : string[]

アカウント名一覧を返す

getRules ( ) : CsvRules

Private Methods

Method Description
LoadAccounts ( ) : void

アカウント情報をユーザ設定から読み出す

SaveAccountInfo ( ) : void

支店番号/口座番号をユーザ設定に書き戻す

getBankName ( CsvAccount account ) : string

Method Details

AddAccount() public method

アカウント追加
public AddAccount ( CsvAccount account ) : void
account CsvAccount
return void

Count() public method

public Count ( ) : int
return int

CsvAccountManager() public method

public CsvAccountManager ( ) : System
return System

DeleteAccount() public method

アカウント削除 注意: account は、すでに存在するアカウントである必要がある
public DeleteAccount ( CsvAccount account ) : void
account CsvAccount
return void

DownAccount() public method

public DownAccount ( int index ) : void
index int
return void

GetAt() public method

public GetAt ( int index ) : CsvAccount
index int
return CsvAccount

IndexOf() public method

public IndexOf ( CsvAccount account ) : int
account CsvAccount
return int

LoadAllRules() public method

CSVルールを読み込む
public LoadAllRules ( ) : bool
return bool

ModifyAccount() public method

アカウント変更 注意: account は、すでに存在するアカウントである必要がある
public ModifyAccount ( CsvAccount account ) : void
account CsvAccount
return void

SelectAccount() public method

CSVアカウントを選択
public SelectAccount ( string path ) : CsvAccount
path string CSVファイルパス
return CsvAccount

UpAccount() public method

public UpAccount ( int index ) : void
index int
return void

addRule() public method

ルールを追加する (単体テスト用)
public addRule ( CsvRule rule ) : void
rule CsvRule ルール
return void

findMatchingRuleForCsv() public method

マッチする CSV ルールを探す
public findMatchingRuleForCsv ( string path ) : CsvRule
path string CSVファイルパス
return CsvRule

getNames() public method

アカウント名一覧を返す
public getNames ( ) : string[]
return string[]

getRules() public method

public getRules ( ) : CsvRules
return CsvRules