Method AddBank
AddBank(BankDefinition)
Adds a BankDefinition to the set of known, supported banks.
Declaration
public static bool AddBank(BankDefinition bank)
Parameters
Type | Name | Description |
---|---|---|
BankDefinition | bank | A BankDefinition instance to be added to the collection of known banks. |
Returns
Type | Description |
---|---|
System.Boolean | True if the item was succesfully added, otherwise false (usually because the id is a duplicate). |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown if the id of the |
System.ArgumentNullException | Thrown if |
AddBank(BankDefinition)
Adds a BankDefinition to the set of known, supported banks.
Declaration
public static bool AddBank(BankDefinition bank)
Parameters
Type | Name | Description |
---|---|---|
BankDefinition | bank | A BankDefinition instance to be added to the collection of known banks. |
Returns
Type | Description |
---|---|
System.Boolean | True if the item was succesfully added, otherwise false (usually because the id is a duplicate). |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown if the id of the |
System.ArgumentNullException | Thrown if |