/// <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)); }
/// <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)); }