public override XElement ToXml()
{
var result = base.ToXml();
result.Add(
new XAttribute("AssemblyLocation", AssemblyLocation ?? string.Empty),
new XAttribute("AssemblyName", AssemblyName ?? string.Empty),
new XAttribute("Type", enSourceType.Plugin),
new XElement("TypeOf", enSourceType.Plugin)
);
return result;
}