public void CopyFrom (ProviderData other)
{
if (Ref == null) Ref = other.Ref;
if (Id == null) Id = other.Id;
if (Type == null) Type = other.Type;
foreach (DictionaryEntry entry in other.CustomProperties)
if (!CustomProperties.ContainsKey (entry.Key))
CustomProperties [entry.Key] = entry.Value;
if (other.CustomData != null)
{
if (CustomData == null) CustomData = new ArrayList ();
foreach (SinkProviderData data in other.CustomData)
CustomData.Add (data);
}
}
}