Skip to content

Commit

Permalink
Support namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sschmid committed Nov 19, 2018
1 parent f9d3835 commit 031abdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static string PrefixedComponentName(this ComponentData data) {

public static string Event(this ComponentData data, string contextName, EventData eventData) {
var optionalContextName = data.GetContextNames().Length > 1 ? contextName : string.Empty;
return optionalContextName + eventData.GetEventPrefix() + data.ComponentName() + GetEventTypeSuffix(eventData);
return optionalContextName + EventComponentName(data, eventData) + GetEventTypeSuffix(eventData);
}

public static string EventListener(this ComponentData data, string contextName, EventData eventData) {
Expand Down

0 comments on commit 031abdb

Please sign in to comment.