/// <summary>
 /// Converts an array of IP addresses to name value items with the given name
 /// </summary>
 /// <param name="strName">The name of the name value items</param>
 /// <param name="aripa">The IP addresses which should be converted to the valuees of the name value items</param>
 /// <returns>An array of name value items which represents the given parameters</returns>
 protected NameValueItem[] ConvertToNameValueItems(string strName, IPAddress[] aripa)
 {
     return(ConfigurationParser.ConvertToNameValueItems(strName, aripa));
 }
 /// <summary>
 /// Converts an array of MAC addresses to name value items with the given name
 /// </summary>
 /// <param name="strName">The name of the name value items</param>
 /// <param name="arAddresses">The MAC addresses which should be converted to the valuees of the name value items</param>
 /// <returns>An array of name value items which represents the given parameters</returns>
 protected NameValueItem[] ConvertToNameValueItems(string strName, MACAddress[] arAddresses)
 {
     return(ConfigurationParser.ConvertToNameValueItems(strName, arAddresses));
 }
 /// <summary>
 /// Converts a bool to a name value item with the given name
 /// </summary>
 /// <param name="strName">The name of the name value item</param>
 /// <param name="bValue">The bool which should be converted to the value of the name value item</param>
 /// <returns>An array of name value items which represents the given parameters</returns>
 protected NameValueItem[] ConvertToNameValueItems(string strName, bool bValue)
 {
     return(ConfigurationParser.ConvertToNameValueItems(strName, bValue));
 }
Example #4
0
 /// <summary>
 /// Converts an array of name value items to an array of bools
 /// </summary>
 /// <param name="nviConfiguration">The name value item which should be converted</param>
 /// <returns>An array of bools</returns>
 protected bool[] ConvertToBools(NameValueItem[] nviConfiguration)
 {
     return(ConfigurationParser.ConvertToBools(nviConfiguration));
 }
 /// <summary>
 /// Converts an array of subnetmasks to name value items with the given name
 /// </summary>
 /// <param name="strName">The name of the name value items</param>
 /// <param name="arMasks">The subnetmasks which should be converted to the valuees of the name value items</param>
 /// <returns>An array of name value items which represents the given parameters</returns>
 protected NameValueItem[] ConvertToNameValueItems(string strName, Subnetmask[] arMasks)
 {
     return(ConfigurationParser.ConvertToNameValueItems(strName, arMasks));
 }
Example #6
0
 /// <summary>
 /// Converts an array of name value items to an array of strings
 /// </summary>
 /// <param name="nviConfiguration">The name value item which should be converted</param>
 /// <returns>An array of strings</returns>
 protected string[] ConvertToString(NameValueItem[] nviConfiguration)
 {
     return(ConfigurationParser.ConvertToString(nviConfiguration));
 }
Example #7
0
 /// <summary>
 /// Converts an array of name value items to an array of doubles
 /// </summary>
 /// <param name="nviConfiguration">The name value item which should be converted</param>
 /// <returns>An array of doubles</returns>
 protected double[] ConvertToDouble(NameValueItem[] nviConfiguration)
 {
     return(ConfigurationParser.ConvertToDouble(nviConfiguration));
 }
Example #8
0
 /// <summary>
 /// Converts an array of name value items to an array of integers
 /// </summary>
 /// <param name="nviConfiguration">The name value item which should be converted</param>
 /// <returns>An array of integers</returns>
 protected int[] ConvertToInt(NameValueItem[] nviConfiguration)
 {
     return(ConfigurationParser.ConvertToInt(nviConfiguration));
 }
Example #9
0
 /// <summary>
 /// Converts an array of name value items to an array of MAC addresses
 /// </summary>
 /// <param name="nviConfiguration">The name value item which should be converted</param>
 /// <returns>An array of MAC addresses</returns>
 protected MACAddress[] ConvertToMACAddress(NameValueItem[] nviConfiguration)
 {
     return(ConfigurationParser.ConvertToMACAddress(nviConfiguration));
 }
Example #10
0
 /// <summary>
 /// Converts an array of name value items to an array of subnetmasks
 /// </summary>
 /// <param name="nviConfiguration">The name value item which should be converted</param>
 /// <returns>An array of subnetmasks</returns>
 protected Subnetmask[] ConvertToSubnetmask(NameValueItem[] nviConfiguration)
 {
     return(ConfigurationParser.ConvertToSubnetmask(nviConfiguration));
 }