Class SecuritiesBlocks<TSecuritiesBlock>
A sequence of SecuritiesBlocks of the same type.
Inheritance
System.Object
System.Collections.ObjectModel.Collection<TSecuritiesBlock>
SecuritiesBlocks<TSecuritiesBlock>
Implements
System.Collections.Generic.IList<TSecuritiesBlock>
System.Collections.Generic.ICollection<TSecuritiesBlock>
System.Collections.Generic.IReadOnlyList<TSecuritiesBlock>
System.Collections.Generic.IReadOnlyCollection<TSecuritiesBlock>
System.Collections.Generic.IEnumerable<TSecuritiesBlock>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.Add(TSecuritiesBlock)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.Clear()
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.ClearItems()
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.Contains(TSecuritiesBlock)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.CopyTo(TSecuritiesBlock[], System.Int32)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.GetEnumerator()
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.IndexOf(TSecuritiesBlock)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.Insert(System.Int32, TSecuritiesBlock)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.InsertItem(System.Int32, TSecuritiesBlock)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.Remove(TSecuritiesBlock)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.SetItem(System.Int32, TSecuritiesBlock)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.Count
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.Item[System.Int32]
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.Items
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.Generic.ICollection<TSecuritiesBlock>.IsReadOnly
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<TSecuritiesBlock>.System.Collections.IList.Item[System.Int32]
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 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 |
---|---|---|
System.String | sBlockName |
Properties
BlockName
Declaration
public string BlockName { get; }
Property Value
Type | Description |
---|---|
System.String |
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsValid
Indicates whether all blocks contained in this collection are not empty and valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
Explicit Interface Implementations
ISecuritiesSequence.FinishBlock()
Declaration
void ISecuritiesSequence.FinishBlock()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException |
ISecuritiesSequence.ProcessField(SwiftField)
Declaration
void ISecuritiesSequence.ProcessField(SwiftField aField)
Parameters
Type | Name | Description |
---|---|---|
SwiftField | aField |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException |
ISecuritiesSequence.StartBlock(String)
Declaration
ISecuritiesSequence ISecuritiesSequence.StartBlock(string sBlockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | sBlockName |
Returns
Type | Description |
---|---|
ISecuritiesSequence |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable