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