<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Messaging;
using System.Threading;
using AxMsmq;
using AxMsmq.Interfaces;

namespace AxMsmqSample
{
    public class MessageContent
    {
        public string SaySomething { get; set; }
    }

    class Program
    {
        static void Main(string[] args)
        {
            IQueueMessageTransformer<MessageContent, Message> transformer = new QueueMessageTransformer<MessageContent, Message>();
            IQueueFactory<IQueueMessage<MessageContent>> privateQueuesFactory = new PrivateQueueFactory<MessageContent, Message>(transformer);

            IList<IQueueAddress> queues = privateQueuesFactory.GetExistingQueues("localhost");
            IQueueAddress queueAddress = queues.First();

            IQueueMessage<MessageContent> message = new QueueMessage<MessageContent>()
            {
                Label = "WelcomeMsg",
                Content = new MessageContent
                {
                    SaySomething = "Hello world!"
                }
            };

            IQueueSender<IQueueMessage<MessageContent>> sender = privateQueuesFactory.GetOrCreateSender(queueAddress);
            sender.Send(message);

            Thread.Sleep(1000);

            IQueueReceiver<IQueueMessage<MessageContent>> receiver = privateQueuesFactory.GetOrCreateReceiver(queueAddress);
            IQueueMessage<MessageContent> messageReceived1 = receiver.Peek(TimeSpan.Zero);
            IQueueMessage<MessageContent> messageReceived2 = receiver.Receive(TimeSpan.Zero);

            Console.ReadLine();
        }
    }
}<commit_msg>Ranaming<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Messaging;
using System.Threading;
using AxMsmq;
using AxMsmq.Interfaces;

namespace AxMsmqSample
{
    public class MessageContent
    {
        public string SaySomething { get; set; }
    }

    class Program
    {
        static void Main(string[] args)
        {
            IQueueMessageTransformer<MessageContent, Message> messageTransformer = new QueueMessageTransformer<MessageContent, Message>();
            IQueueFactory<IQueueMessage<MessageContent>> privateQueueFactory = new PrivateQueueFactory<MessageContent, Message>(messageTransformer);

            IList<IQueueAddress> queues = privateQueueFactory.GetExistingQueues("localhost");
            IQueueAddress queueAddress = queues.First();

            IQueueMessage<MessageContent> message = new QueueMessage<MessageContent>()
            {
                Label = "WelcomeMsg",
                Content = new MessageContent
                {
                    SaySomething = "Hello world!"
                }
            };

            IQueueSender<IQueueMessage<MessageContent>> sender = privateQueueFactory.GetOrCreateSender(queueAddress);
            sender.Send(message);

            Thread.Sleep(1000);

            IQueueReceiver<IQueueMessage<MessageContent>> receiver = privateQueueFactory.GetOrCreateReceiver(queueAddress);
            IQueueMessage<MessageContent> messageReceived1 = receiver.Peek(TimeSpan.Zero);
            IQueueMessage<MessageContent> messageReceived2 = receiver.Receive(TimeSpan.Zero);

            Console.ReadLine();
        }
    }
}
{'fraction_non_alphanumeric': 0.08229198415117342, 'fraction_numerical': 0.00365742151782993, 'mean_word_length': 2.7942196531791907, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6778388', 'n_tokens_mistral': 827, 'n_tokens_neox': 790, 'n_words': 148}