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
sBlockNamestring
Properties
BlockName
public string BlockName { get; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
IsValid
Indicates whether all blocks contained in this collection are not empty and valid.
public bool IsValid { get; }
Property Value
Methods
AddBlock()
public virtual SecuritiesBlock AddBlock()
Returns
WriteSequence(SwiftWriter)
Writes all blocks in this collection. If the collection is empty, then nothing is written.
public void WriteSequence(SwiftWriter aWriter)
Parameters
aWriterSwiftWriter