Esempio n. 1
0
        internal static void UpdateMultivaluedProperty <T>(T value, string name, MultiValuedProperty <string> property)
        {
            string text = name + ":" + value.ToString();
            int    num  = property.ToList <string>().FindIndex((string s) => s.StartsWith(name + ":"));

            if (num < 0)
            {
                property.Add(text);
                return;
            }
            property[num] = text;
        }