In the method body convert the object [] to the needed array type . You can do it this way:
parameter is:
(object[] eventTypes) int[] eventTypeIDs = eventTypes.Select( Convert.ToInt32).ToArray();
(object[] eventTypes) int[] eventTypeIDs = eventTypes.Select( Convert.ToInt32).ToArray();
public struct ShowMyClass{};