protected void OnUserPropertySet(UserPropertySetEvent e)
{
if (_properties == null)
{
_properties = new Dictionary<string, UserProperty>();
}
if (!_properties.ContainsKey(e.Name))
{
_properties.Add(e.Name, new UserProperty
{
Name = e.Name,
Value = e.Value,
Type = e.Type,
Format = e.Format
});
}
_properties[e.Name] = new UserProperty
{
Name = e.Name,
Value = e.Value,
Type = e.Type,
Format = e.Format
};
}