コード例 #1
0
        private Dictionary <string, string> GetPropertyValues(object obj, IEnumerable <PropertyInfo> properties)
        {
            Dictionary <string, string> parameters = new Dictionary <string, string>();

            foreach (PropertyInfo property in properties)
            {
                var data = propertyConverter.GetEntryFromProperty(obj, property);
                parameters.Add(data.Key, data.Value);
            }

            return(parameters);
        }