Class EbicsParameters
Collection of EbicsParameter instances.
public class EbicsParameters : IList, ICollection, IEnumerable
- Inheritance
-
EbicsParameters
- Implements
- Inherited Members
Properties
Count
public int Count { get; }
Property Value
this[int]
Get a contained EbicsParameter by it's index.
public EbicsParameter this[int nIndex] { get; set; }
Parameters
nIndexint
Property Value
this[string]
Get or set the Value of a contained EbicsParameter.
public object this[string sName] { get; set; }
Parameters
Property Value
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
aParameterEbicsParameterThe parameter to be added. This must not be
nulland must not have a Parent.
Returns
AppendXml(XmlNode, EbicsVersion)
Append all contained parameters as Parameter elements.
public void AppendXml(XmlNode xmlParentNode, EbicsVersion nVersion)
Parameters
xmlParentNodeXmlNodeThe parent node where the Parameter elements shall be appended to.
nVersionEbicsVersion
Clear()
public void Clear()
ExtractXml(XmlNode, EbicsVersion)
Extract all Parameter child elements from the given parent.
public void ExtractXml(XmlNode xmlParentNode, EbicsVersion nVersion)
Parameters
xmlParentNodeXmlNodenVersionEbicsVersion
Find(string)
Find the parameter with the given name.
public EbicsParameter Find(string sName)
Parameters
sNamestring
Returns
FromJson(JsonArray)
public static EbicsParameters FromJson(JsonArray jsonArray)
Parameters
jsonArrayJsonArray
Returns
GetEnumerator()
public IEnumerator GetEnumerator()
Returns
Remove(EbicsParameter)
public void Remove(EbicsParameter aParameter)
Parameters
aParameterEbicsParameter
Remove(string)
public void Remove(string sName)
Parameters
sNamestring
RemoveAt(int)
public void RemoveAt(int nIndex)
Parameters
nIndexint
ToJson()
public JsonArray ToJson()
Returns
ToJson(IEnumerable<EbicsParameter>)
public static JsonArray ToJson(IEnumerable<EbicsParameter> vParameters)
Parameters
vParametersIEnumerable<EbicsParameter>