Class SepaCollection<TSepaObject>
Inheritance
System.Object
System.Collections.ObjectModel.Collection<TSepaObject>
SepaCollection<TSepaObject>
Implements
System.Collections.Generic.IList<TSepaObject>
System.Collections.Generic.ICollection<TSepaObject>
System.Collections.Generic.IReadOnlyList<TSepaObject>
System.Collections.Generic.IReadOnlyCollection<TSepaObject>
System.Collections.Generic.IEnumerable<TSepaObject>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<TSepaObject>.Add(TSepaObject)
System.Collections.ObjectModel.Collection<TSepaObject>.Clear()
System.Collections.ObjectModel.Collection<TSepaObject>.ClearItems()
System.Collections.ObjectModel.Collection<TSepaObject>.Contains(TSepaObject)
System.Collections.ObjectModel.Collection<TSepaObject>.CopyTo(TSepaObject[], System.Int32)
System.Collections.ObjectModel.Collection<TSepaObject>.GetEnumerator()
System.Collections.ObjectModel.Collection<TSepaObject>.IndexOf(TSepaObject)
System.Collections.ObjectModel.Collection<TSepaObject>.Insert(System.Int32, TSepaObject)
System.Collections.ObjectModel.Collection<TSepaObject>.InsertItem(System.Int32, TSepaObject)
System.Collections.ObjectModel.Collection<TSepaObject>.Remove(TSepaObject)
System.Collections.ObjectModel.Collection<TSepaObject>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<TSepaObject>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<TSepaObject>.SetItem(System.Int32, TSepaObject)
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<TSepaObject>.Count
System.Collections.ObjectModel.Collection<TSepaObject>.Item[System.Int32]
System.Collections.ObjectModel.Collection<TSepaObject>.Items
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.Generic.ICollection<TSepaObject>.IsReadOnly
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.Collection<TSepaObject>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<TSepaObject>.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.Sepa
Assembly: Subsembly.Sepa.dll
Syntax
public class SepaCollection<TSepaObject> : Collection<TSepaObject>, IList<TSepaObject>, ICollection<TSepaObject>, IReadOnlyList<TSepaObject>, IReadOnlyCollection<TSepaObject>, IEnumerable<TSepaObject>, IList, ICollection, IEnumerable where TSepaObject : SepaObject
Type Parameters
Name | Description |
---|---|
TSepaObject |
Properties
IsEmpty
Declaration
public virtual bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsValid
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Validate(ICollection<SepaException>, String)
Validate all child objects of this collection without throwing an exception.
Declaration
public virtual void Validate(ICollection<SepaException> vErrors, string sPath)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<SepaException> | vErrors | Container that receives all diagnostic output from validation. For each error found, an implementation shall create a SepaException and add it to this container. |
System.String | sPath | The complete path from the SEPA document root to the parent of this collection. This is different than the OnValidate(ICollection<SepaException>, String) method! |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |
WriteXml(XmlWriter, SepaMessageInfo)
Declaration
public virtual void WriteXml(XmlWriter aXmlWriter, SepaMessageInfo aMessageInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | aXmlWriter | |
SepaMessageInfo | aMessageInfo |
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