예제 #1
0
        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);
        }
예제 #2
0
        public static void TestUser(UserAbstract user, PastebinAPI api, string userKey)
        {
            var puser = api.GetUser(userKey);

            user.SendMessageAsReflection("GetUser", puser);
        }