/// <summary>
 /// Loads configuration properties for the component
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Load(IPropertyBag propertyBag)
 {
     propertyBag.ReadProperty("Encoding", value => Encoding = EncodingConverter.Deserialize(value));
     propertyBag.ReadProperty("Map", value => Map           = Type.GetType(value, true));
 }
 /// <summary>
 /// Loads configuration properties for the component
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Load(IPropertyBag propertyBag)
 {
     propertyBag.ReadProperty("Encoding", value => Encoding = EncodingConverter.Deserialize(value));
     propertyBag.ReadProperty <XmlTranslationModes>("Modes", value => Modes = value);
     propertyBag.ReadProperty("Translations", value => Translations         = XmlTranslationSetConverter.Deserialize(value));
 }