public PropertySerializer(string propertyNames, string propertyValues) { if (!string.IsNullOrEmpty(propertyNames) && !string.IsNullOrEmpty(propertyValues)) { this.extendedAttributes = PropertySerializer.ConvertToNameValueCollection(propertyNames, propertyValues); return; } this.extendedAttributes = new NameValueCollection(); }
public void Serialize(ref string propertyNames, ref string propertyValues) { PropertySerializer.ConvertFromNameValueCollection(this.extendedAttributes, ref propertyNames, ref propertyValues); }