Class EbicsParameters

Namespace
Subsembly.EBICS
Assembly
Subsembly.EBICS.Core.dll

Collection of EbicsParameter instances.

public class EbicsParameters : IList, ICollection, IEnumerable
Inheritance
EbicsParameters
Implements
Inherited Members

Properties

Count

public int Count { get; }

Property Value

int

this[int]

Get a contained EbicsParameter by it's index.

public EbicsParameter this[int nIndex] { get; set; }

Parameters

nIndex int

Property Value

EbicsParameter

this[string]

Get or set the Value of a contained EbicsParameter.

public object this[string sName] { get; set; }

Parameters

sName string

The Name of the paremeter to get or set.

Property Value

object

Remarks

When trying to get the value of a parameter that does not exist, then null is returned. When trying to set the value of a parameter that does not exist, then a new EbicsParameter is created and added to this collection.

Setting a null value will remove the named parameter.

Methods

Add(EbicsParameter)

Adds an parameter to this collection.

public int Add(EbicsParameter aParameter)

Parameters

aParameter EbicsParameter

The parameter to be added. This must not be null and must not have a Parent.

Returns

int

AppendXml(XmlNode, EbicsVersion)

Append all contained parameters as Parameter elements.

public void AppendXml(XmlNode xmlParentNode, EbicsVersion nVersion)

Parameters

xmlParentNode XmlNode

The parent node where the Parameter elements shall be appended to.

nVersion EbicsVersion

Clear()

public void Clear()

ExtractXml(XmlNode, EbicsVersion)

Extract all Parameter child elements from the given parent.

public void ExtractXml(XmlNode xmlParentNode, EbicsVersion nVersion)

Parameters

xmlParentNode XmlNode
nVersion EbicsVersion

Find(string)

Find the parameter with the given name.

public EbicsParameter Find(string sName)

Parameters

sName string

Returns

EbicsParameter

FromJson(JsonArray)

public static EbicsParameters FromJson(JsonArray jsonArray)

Parameters

jsonArray JsonArray

Returns

EbicsParameters

GetEnumerator()

public IEnumerator GetEnumerator()

Returns

IEnumerator

Remove(EbicsParameter)

public void Remove(EbicsParameter aParameter)

Parameters

aParameter EbicsParameter

Remove(string)

public void Remove(string sName)

Parameters

sName string

RemoveAt(int)

public void RemoveAt(int nIndex)

Parameters

nIndex int

ToJson()

public JsonArray ToJson()

Returns

JsonArray

ToJson(IEnumerable<EbicsParameter>)

public static JsonArray ToJson(IEnumerable<EbicsParameter> vParameters)

Parameters

vParameters IEnumerable<EbicsParameter>

Returns

JsonArray