Add ENomatchReason for events, and properly handle them.
This commit is contained in:
parent
8a350c6818
commit
e9d6b30e88
@ -26,4 +26,6 @@ public enum ENoMatchReason
|
|||||||
NestedTypeInclude,
|
NestedTypeInclude,
|
||||||
NestedTypeExclude,
|
NestedTypeExclude,
|
||||||
NestedTypeCount,
|
NestedTypeCount,
|
||||||
|
EventsInclude,
|
||||||
|
EventExclude
|
||||||
}
|
}
|
@ -393,7 +393,7 @@ public class ReCodeItRemapper
|
|||||||
|
|
||||||
if (!types.Any())
|
if (!types.Any())
|
||||||
{
|
{
|
||||||
AllTypesFilteredOutFor(mapping, ENoMatchReason.PropertiesInclude);
|
AllTypesFilteredOutFor(mapping, ENoMatchReason.EventsInclude);
|
||||||
mapping.TypeCandidates.UnionWith(types);
|
mapping.TypeCandidates.UnionWith(types);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -402,7 +402,7 @@ public class ReCodeItRemapper
|
|||||||
|
|
||||||
if (!types.Any())
|
if (!types.Any())
|
||||||
{
|
{
|
||||||
AllTypesFilteredOutFor(mapping, ENoMatchReason.PropertiesExclude);
|
AllTypesFilteredOutFor(mapping, ENoMatchReason.EventExclude);
|
||||||
mapping.TypeCandidates.UnionWith(types);
|
mapping.TypeCandidates.UnionWith(types);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user