Class SecuritiesSequence
Any sequence of fields and other nested sequences.
Implements
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.SecuritiesMarkets
Assembly: Subsembly.Sepa.dll
Syntax
public abstract class SecuritiesSequence : ISecuritiesSequence
Properties
BlockName
If this sequence is a block or a repetitive block, then this provides the block
name of it. Otherwise this may be null
.
Declaration
public abstract string BlockName { get; }
Property Value
Type | Description |
---|---|
System.String |
IsEmpty
Declaration
public virtual bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsValid
Declaration
public virtual bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
AddBlock(ISecuritiesSequence, Boolean)
Declaration
protected void AddBlock(ISecuritiesSequence aSequence, bool fIsMandatory)
Parameters
Type | Name | Description |
---|---|---|
ISecuritiesSequence | aSequence | |
System.Boolean | fIsMandatory |
AddField(SecuritiesField, Boolean)
Adds a field that is contained in and handled by this sequence.
Declaration
protected void AddField(SecuritiesField aField, bool fIsMandatory)
Parameters
Type | Name | Description |
---|---|---|
SecuritiesField | aField | |
System.Boolean | fIsMandatory |
AddRepetitiveBlock(ISecuritiesRepetitiveSequence, Boolean)
Declaration
protected void AddRepetitiveBlock(ISecuritiesRepetitiveSequence aSequence, bool fIsMandatory)
Parameters
Type | Name | Description |
---|---|---|
ISecuritiesRepetitiveSequence | aSequence | |
System.Boolean | fIsMandatory |
Clear()
Must be overridden to clear all data from this block.
Declaration
public virtual void Clear()
FinishBlock()
Declaration
public virtual void FinishBlock()
ProcessField(SwiftField)
Declaration
public virtual void ProcessField(SwiftField aField)
Parameters
Type | Name | Description |
---|---|---|
SwiftField | aField |
StartBlock(String)
Declaration
public virtual ISecuritiesSequence StartBlock(string sBlockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | sBlockName |
Returns
Type | Description |
---|---|
ISecuritiesSequence |
WriteSequence(SwiftWriter)
Declaration
public virtual void WriteSequence(SwiftWriter aWriter)
Parameters
Type | Name | Description |
---|---|---|
SwiftWriter | aWriter |