Class SwiftStatementOfHoldingsMT535Reader
The SwiftStatementOfHoldingsMT535Reader reads one MT-535 SWIFT messages from a SwiftReader source.
Inheritance
System.Object
SwiftStatementOfHoldingsMT535Reader
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.Swift
Assembly: Subsembly.Sepa.dll
Syntax
public class SwiftStatementOfHoldingsMT535Reader
Constructors
SwiftStatementOfHoldingsMT535Reader(SwiftReader)
Creates a SwiftStatementOfHoldingsMT535Reader that will read SWIFT fields from the given SwiftReader.
Declaration
public SwiftStatementOfHoldingsMT535Reader(SwiftReader aSwiftReader)
Parameters
Type | Name | Description |
---|---|---|
SwiftReader | aSwiftReader | SwiftReader that provides the input data as a stream of SWIFT fields. This input will be processed as a MT-535 SWIFT message. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter aSwiftReader was |
Properties
Field
The most recently read SWIFT field.
Declaration
public SwiftField Field { get; }
Property Value
Type | Description |
---|---|
SwiftField |
State
The current state of this SwiftStatementReader.
Declaration
public SwiftStatementOfHoldingsMT535ReaderState State { get; }
Property Value
Type | Description |
---|---|
SwiftStatementOfHoldingsMT535ReaderState |
SwiftReader
The SwiftReader that was passed to the constructor.
Declaration
public SwiftReader SwiftReader { get; }
Property Value
Type | Description |
---|---|
SwiftReader |
Methods
ReadField()
Reads and processes the next SWIFT field according to the current State.
Declaration
public SwiftStatementOfHoldingsMT535ReaderState ReadField()
Returns
Type | Description |
---|---|
SwiftStatementOfHoldingsMT535ReaderState | Returns the new State that resulted from processing the SWIFT field. |
Restart()
Declaration
public void Restart()