<commit_before>﻿using System;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;

namespace GrafGenerator.BuildNotificationTools.Interop
{
    [Serializable]
    public class BuildMessage: IXmlSerializable
    {
	    private Guid _buildId;
	    private BuildMessageKind _messageKind;
	    private string _message;

	    public Guid BuildId => _buildId;
	    public BuildMessageKind MessageKind => _messageKind;
	    public string Message => _message;


	    public BuildMessage()
	    {
		    
	    }


        private BuildMessage(Guid buildId, BuildMessageKind messageKind, string message)
        {
            _buildId = buildId;
            _messageKind = messageKind;
            _message = message;
        }


		public static BuildMessage Create(Guid buildId, BuildMessageKind messageKind, string message)
        {
            return new BuildMessage(buildId, messageKind, message);
        }

	    public XmlSchema GetSchema()
	    {
		    return null;
	    }

	    public void ReadXml(XmlReader reader)
	    {
		    reader.ReadToFollowing("id");
		    var buildIdStr = reader.ReadElementContentAsString();
		    var messageKindStr = reader.ReadElementContentAsString();
			var messageStr = reader.ReadElementContentAsString();

			_buildId = Guid.Parse(buildIdStr);
		    _messageKind = (BuildMessageKind) Enum.Parse(typeof (BuildMessageKind), messageKindStr);
		    _message = messageStr;
	    }

	    public void WriteXml(XmlWriter writer)
	    {

		    writer.WriteElementString("id",_buildId.ToString());
		    writer.WriteElementString("kind", Enum.GetName(typeof (BuildMessageKind), _messageKind));
		    writer.WriteElementString("message", _message);
	    }
    }
}<commit_msg>extra line<commit_after>﻿using System;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;

namespace GrafGenerator.BuildNotificationTools.Interop
{
    [Serializable]
    public class BuildMessage: IXmlSerializable
    {
	    private Guid _buildId;
	    private BuildMessageKind _messageKind;
	    private string _message;

	    public Guid BuildId => _buildId;
	    public BuildMessageKind MessageKind => _messageKind;
	    public string Message => _message;


	    public BuildMessage()
	    {
		    
	    }


        private BuildMessage(Guid buildId, BuildMessageKind messageKind, string message)
        {
            _buildId = buildId;
            _messageKind = messageKind;
            _message = message;
        }


		public static BuildMessage Create(Guid buildId, BuildMessageKind messageKind, string message)
        {
            return new BuildMessage(buildId, messageKind, message);
        }

	    public XmlSchema GetSchema()
	    {
		    return null;
	    }

	    public void ReadXml(XmlReader reader)
	    {
		    reader.ReadToFollowing("id");
		    var buildIdStr = reader.ReadElementContentAsString();
		    var messageKindStr = reader.ReadElementContentAsString();
			var messageStr = reader.ReadElementContentAsString();

			_buildId = Guid.Parse(buildIdStr);
		    _messageKind = (BuildMessageKind) Enum.Parse(typeof (BuildMessageKind), messageKindStr);
		    _message = messageStr;
	    }

	    public void WriteXml(XmlWriter writer)
	    {
		    writer.WriteElementString("id",_buildId.ToString());
		    writer.WriteElementString("kind", Enum.GetName(typeof (BuildMessageKind), _messageKind));
		    writer.WriteElementString("message", _message);
	    }
    }
}
{'fraction_non_alphanumeric': 0.08266818700114024, 'fraction_numerical': 0.0, 'mean_word_length': 3.0849825378346916, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4043890', 'n_tokens_mistral': 1027, 'n_tokens_neox': 916, 'n_words': 213}