Catching UserEvent actions.
Status: Beta
Brought to you by:
x893
There seems to be an issue with catching UserEvent actions. I think I fixed the issue in Helper.cs
It was looking for a 'userevent' attribute, which doesn't exists and throws an exception. I've changed it to just 'event' and the UserEvent is now thrown. I'm not 100% sure if this is how to fix this issue. I may have broken something else.
if (eventType == "user")
{
string userevent = ((string)attributes["event"]).ToLower(Helper.CultureInfo);
hash = string.Concat(eventType, userevent).GetHashCode();
if (list.ContainsKey(hash))
constructor = list[hash];
else
constructor = list[hashEvent];
}