Пример #1
0
        private static void RetrieveTenItems()
        {
            var retriever = new ItemRetriever();

            for (var i = 0; i < 10; i++)
            {
                var largeMessage = retriever.RetrieveItemLargeMessage(1);
            }
        }
Пример #2
0
        private static void RetrieveTwoThousandItems()
        {
            var retriever = new ItemRetriever();

            for (var i = 0; i < 2000; i++)
            {
                var largeMessage = retriever.RetrieveItemLargeMessage(1);
            }
        }
Пример #3
0
 private static void RetrieveAnItem()
 {
     var retriever    = new ItemRetriever();
     var largeMessage = retriever.RetrieveItemLargeMessage(1);
 }