Mono.Upcoming.AuthenticatedConnection.GetGroups C# (CSharp) Method

GetGroups() private method

private GetGroups ( int event_id ) : Mono.Upcoming.Group[]
event_id int
return Mono.Upcoming.Group[]
        internal override Group[] GetGroups(int event_id)
        {
            Response rsp = Util.Get ("event.getGroups",
                new UpcomingParam ("event_id", event_id),
                new UpcomingParam ("token", Token.TokenString));

            foreach (Group group in rsp.Groups)
                group.Connection = this;

            return rsp.Groups;
        }