Class SwiftStatementOfHoldingsMT571Reader
The SwiftStatementOfHoldingsMT571Reader reads one MT-571 SWIFT messages from a SwiftReader source.
Inheritance
System.Object
SwiftStatementOfHoldingsMT571Reader
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 SwiftStatementOfHoldingsMT571Reader
Constructors
SwiftStatementOfHoldingsMT571Reader(SwiftReader)
Creates a SwiftStatementOfHoldingsMT571Reader that will read SWIFT fields from the given SwiftReader.
Declaration
public SwiftStatementOfHoldingsMT571Reader(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-571 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 SwiftStatementOfHoldingsMT571ReaderState State { get; }
Property Value
Type | Description |
---|---|
SwiftStatementOfHoldingsMT571ReaderState |
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 SwiftStatementOfHoldingsMT571ReaderState ReadField()
Returns
Type | Description |
---|---|
SwiftStatementOfHoldingsMT571ReaderState | Returns the new State that resulted from processing the SWIFT field. |
Restart()
Declaration
public void Restart()