Exemple #1
0
        static void Main(string[] args)
        {
            c = new ClienteServiceClient();

            c.BeginGetTop10(GetTop10Completed, null);

            c.BeginGetById(1, GetByIdCompleted, null);
            c.BeginGetById(10, GetByIdCompleted, null);
            c.BeginGetById(100, GetByIdCompleted, null);

            Console.ReadKey();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            c = new ClienteServiceClient();

            c.BeginGetTop10(GetTop10Completed, null);

            c.BeginGetById(1, GetByIdCompleted, null);
            c.BeginGetById(10, GetByIdCompleted, null);
            c.BeginGetById(100, GetByIdCompleted, null);

            Console.ReadKey();
        }