Class SecuritiesBlocks<TSecuritiesBlock>

Namespace
Subsembly.Swift.SecuritiesMarkets
Assembly
Subsembly.Sepa.dll

A sequence of SecuritiesBlocks of the same type.

public abstract class SecuritiesBlocks<TSecuritiesBlock> : Collection<TSecuritiesBlock>, IList<TSecuritiesBlock>, ICollection<TSecuritiesBlock>, IReadOnlyList<TSecuritiesBlock>, IReadOnlyCollection<TSecuritiesBlock>, IEnumerable<TSecuritiesBlock>, IList, ICollection, IEnumerable, ISecuritiesRepetitiveSequence, ISecuritiesSequence where TSecuritiesBlock : SecuritiesBlock, new()

Type Parameters

TSecuritiesBlock
Inheritance
Collection<TSecuritiesBlock>
SecuritiesBlocks<TSecuritiesBlock>
Implements
IList<TSecuritiesBlock>
ICollection<TSecuritiesBlock>
IReadOnlyList<TSecuritiesBlock>
IReadOnlyCollection<TSecuritiesBlock>
IEnumerable<TSecuritiesBlock>
Derived
Inherited Members

Constructors

SecuritiesBlocks(string)

public SecuritiesBlocks(string sBlockName)

Parameters

sBlockName string

Properties

BlockName

public string BlockName { get; }

Property Value

string

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

IsValid

Indicates whether all blocks contained in this collection are not empty and valid.

public bool IsValid { get; }

Property Value

bool

Methods

AddBlock()

public virtual SecuritiesBlock AddBlock()

Returns

SecuritiesBlock

WriteSequence(SwiftWriter)

Writes all blocks in this collection. If the collection is empty, then nothing is written.

public void WriteSequence(SwiftWriter aWriter)

Parameters

aWriter SwiftWriter