Class SecuritiesBlocks<TSecuritiesBlock>
A sequence of SecuritiesBlocks of the same type.
Implements
IList<TSecuritiesBlock>
ICollection<TSecuritiesBlock>
IReadOnlyList<TSecuritiesBlock>
IReadOnlyCollection<TSecuritiesBlock>
IEnumerable<TSecuritiesBlock>
Inherited Members
Namespace: Subsembly.Swift.SecuritiesMarkets
Assembly: Subsembly.Sepa.dll
Syntax
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
Name | Description |
---|---|
TSecuritiesBlock |
Constructors
SecuritiesBlocks(string)
Declaration
public SecuritiesBlocks(string sBlockName)
Parameters
Type | Name | Description |
---|---|---|
string | sBlockName |
Properties
BlockName
Declaration
public string BlockName { get; }
Property Value
Type | Description |
---|---|
string |
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
bool |
IsValid
Indicates whether all blocks contained in this collection are not empty and valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
AddBlock()
Declaration
public virtual SecuritiesBlock AddBlock()
Returns
Type | Description |
---|---|
SecuritiesBlock |
WriteSequence(SwiftWriter)
Writes all blocks in this collection. If the collection is empty, then nothing is written.
Declaration
public void WriteSequence(SwiftWriter aWriter)
Parameters
Type | Name | Description |
---|---|---|
SwiftWriter | aWriter |