<commit_before>﻿using System;

namespace SQLite.Net
{
    public class BlobSerializerDelegate : IBlobSerializer
    {
        public delegate byte[] SerializeDelegate(object obj);
        public delegate bool CanSerializeDelegate(Type type);
        public delegate object DeserializeDelegate(byte[] data, Type type);

        private readonly SerializeDelegate serializeDelegate;
        private readonly DeserializeDelegate deserializeDelegate;
        private readonly CanSerializeDelegate canDeserializeDelegate;

        public BlobSerializerDelegate (SerializeDelegate serializeDelegate, 
            DeserializeDelegate deserializeDelegate,
            CanSerializeDelegate canDeserializeDelegate)
        {
            this.serializeDelegate = serializeDelegate;
            this.deserializeDelegate = deserializeDelegate;
            this.canDeserializeDelegate = canDeserializeDelegate;
        }

        #region IBlobSerializer implementation

        public byte[] Serialize<T>(T obj)
        {
            return this.serializeDelegate (obj);
        }

        public object Deserialize(byte[] data, Type type)
        {
            return this.deserializeDelegate (data, type);
        }

        public bool CanDeserialize(Type type)
        {
            return this.canDeserializeDelegate (type);
        }

        #endregion
    }
}
<commit_msg>core/BlobSerializer: Rename fields name pattern to match rest of code<commit_after>﻿using System;

namespace SQLite.Net
{
    public class BlobSerializerDelegate : IBlobSerializer
    {
        public delegate byte[] SerializeDelegate(object obj);

        public delegate bool CanSerializeDelegate(Type type);

        public delegate object DeserializeDelegate(byte[] data, Type type);

        private readonly SerializeDelegate _serializeDelegate;
        private readonly DeserializeDelegate _deserializeDelegate;
        private readonly CanSerializeDelegate _canDeserializeDelegate;

        public BlobSerializerDelegate(SerializeDelegate serializeDelegate,
            DeserializeDelegate deserializeDelegate,
            CanSerializeDelegate canDeserializeDelegate)
        {
            _serializeDelegate = serializeDelegate;
            _deserializeDelegate = deserializeDelegate;
            _canDeserializeDelegate = canDeserializeDelegate;
        }

        #region IBlobSerializer implementation

        public byte[] Serialize<T>(T obj)
        {
            return _serializeDelegate(obj);
        }

        public object Deserialize(byte[] data, Type type)
        {
            return _deserializeDelegate(data, type);
        }

        public bool CanDeserialize(Type type)
        {
            return _canDeserializeDelegate(type);
        }

        #endregion
    }
}
{'fraction_non_alphanumeric': 0.05428881650380022, 'fraction_numerical': 0.0, 'mean_word_length': 2.6416337285902505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7378640', 'n_tokens_mistral': 614, 'n_tokens_neox': 611, 'n_words': 163}