internal static ISet <Namespace>[] GetEventInvokeArgs(ProjectState state, Type type) { var p = type.GetMethod("Invoke").GetParameters(); var args = new ISet <Namespace> [p.Length]; for (int i = 0; i < p.Length; i++) { args[i] = state.GetInstance(p[i].ParameterType).SelfSet; } return(args); }
internal static ISet<Namespace>[] GetEventInvokeArgs(ProjectState state, Type type) { var p = type.GetMethod("Invoke").GetParameters(); var args = new ISet<Namespace>[p.Length]; for (int i = 0; i < p.Length; i++) { args[i] = state.GetInstance(p[i].ParameterType).SelfSet; } return args; }