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
nIndex
int
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
aParameter
EbicsParameterThe parameter to be added. This must not be
null
and must not have a Parent.
Returns
AppendXml(XmlNode, EbicsVersion)
Append all contained parameters as Parameter elements.
public void AppendXml(XmlNode xmlParentNode, EbicsVersion nVersion)
Parameters
xmlParentNode
XmlNodeThe 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
XmlNodenVersion
EbicsVersion
Find(string)
Find the parameter with the given name.
public EbicsParameter Find(string sName)
Parameters
sName
string
Returns
FromJson(JsonArray)
public static EbicsParameters FromJson(JsonArray jsonArray)
Parameters
jsonArray
JsonArray
Returns
GetEnumerator()
public IEnumerator GetEnumerator()
Returns
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
ToJson(IEnumerable<EbicsParameter>)
public static JsonArray ToJson(IEnumerable<EbicsParameter> vParameters)
Parameters
vParameters
IEnumerable<EbicsParameter>