<commit_before>﻿using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Digipost.Api.Client.Domain;

namespace Digipost.Api.Client.Api
{
    public class DigipostClient 
    {

        private DigipostApi api;
        public DigipostClient(ClientConfig clientConfig, X509Certificate2 businessCertificate)
        {
            api = new DigipostApi(clientConfig,businessCertificate);
        }

        public DigipostClient(ClientConfig clientConfig, string thumbprint)
        {
            api = new DigipostApi(clientConfig,thumbprint);
        }

        public IdentificationResult Identify(Identification identification)
        {
            return api.Identify(identification);
        }

        public Task<IdentificationResult> IdentifyAsync(Identification identification)
        {
            return api.IdentifyAsync(identification);
        }

        public MessageDeliveryResult SendMessage(Message message)
        {
            return api.SendMessage(message);
        }

        public Task<MessageDeliveryResult> SendMessageAsync(Message message)
        {
            return api.SendMessageAsync(message);
        }
    }
}<commit_msg>made api readonly and renamed it to _<commit_after>﻿using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Digipost.Api.Client.Domain;

namespace Digipost.Api.Client.Api
{
    public class DigipostClient 
    {

        private readonly DigipostApi _api;
        public DigipostClient(ClientConfig clientConfig, X509Certificate2 businessCertificate)
        {
            _api = new DigipostApi(clientConfig,businessCertificate);
        }

        public DigipostClient(ClientConfig clientConfig, string thumbprint)
        {
            _api = new DigipostApi(clientConfig,thumbprint);
        }

        public IdentificationResult Identify(Identification identification)
        {
            return _api.Identify(identification);
        }

        public Task<IdentificationResult> IdentifyAsync(Identification identification)
        {
            return _api.IdentifyAsync(identification);
        }

        public MessageDeliveryResult SendMessage(Message message)
        {
            return _api.SendMessage(message);
        }

        public Task<MessageDeliveryResult> SendMessageAsync(Message message)
        {
            return _api.SendMessageAsync(message);
        }
    }
}
{'fraction_non_alphanumeric': 0.06523534269199009, 'fraction_numerical': 0.005780346820809248, 'mean_word_length': 2.6218236173393126, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2388331', 'n_tokens_mistral': 620, 'n_tokens_neox': 594, 'n_words': 116}