Class FinBanksFileBuilder
Inheritance
System.Object
FinBanksFileBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Subsembly.FinTS.Banks
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinBanksFileBuilder
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CountServers
Declaration
public int CountServers { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CountStrings
Declaration
public int CountStrings { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
AddBank(FinBanksInfo)
Declaration
public void AddBank(FinBanksInfo aBank)
Parameters
Type | Name | Description |
---|---|---|
FinBanksInfo | aBank |
AddServer(FinBanksServer)
Declaration
public ushort AddServer(FinBanksServer aServer)
Parameters
Type | Name | Description |
---|---|---|
FinBanksServer | aServer |
Returns
Type | Description |
---|---|
System.UInt16 |
AddString(String)
Declaration
public ushort AddString(string sString)
Parameters
Type | Name | Description |
---|---|---|
System.String | sString |
Returns
Type | Description |
---|---|
System.UInt16 |
SaveAs(String)
Saves the compressed FinBanks.dat file.
Declaration
public void SaveAs(string sFilename)
Parameters
Type | Name | Description |
---|---|---|
System.String | sFilename | The file name and complete path of the "FinBanks.dat" file to be written. If the file already exists, then it will be overwritten. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter sFilename was |
System.ArgumentException | The parameter sFilename was an empty string. |
Write(Stream)
Declaration
public void Write(Stream aStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | aStream |