public FormNameValuePair(FormValuesSerializer serializer, string name, IFormValue value, string contentType, IDictionary <string, string> parameters) { this.m_name = name; this.m_value = value; this.m_contentType = contentType; this.m_serializer = serializer; this.m_parameters = new Dictionary <string, string> { { "name", name }, }; if (parameters != null) { foreach (KeyValuePair <string, string> item in parameters) { this.m_parameters[item.Key] = item.Value; } } }
public DefaultFormValue(PropertyType propertyType, IFormValue propertyValue) { PropertyType = propertyType; PropertyValue = propertyValue; }
public FormNameValuePair(FormValuesSerializer serializer, string name, IFormValue value, string contentType) : this(serializer, name, value, contentType, null) { }