public static void TestList(UserAbstract user, PastebinAPI api, string userKey) { var request = new PasteListRequest(); request.UserKey = userKey; request.ResultsLimit = user.ReadInput("Enter Results Limit, Nullable").AsInt; var array = api.ListPastes(request); user.SendMessageAsReflection("ListPastes", array); }
public static void TestUser(UserAbstract user, PastebinAPI api, string userKey) { var puser = api.GetUser(userKey); user.SendMessageAsReflection("GetUser", puser); }