<commit_before>﻿using System;
using System.Collections.Generic;
using System.Text;
using IFramework.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;

namespace IFramework.DependencyInjection.Microsoft
{
    public class ObjectProviderBuilder: IObjectProviderBuilder
    {

        public IObjectProvider Build(IServiceCollection serviceCollection = null)
        {
            throw new NotImplementedException();
        }

        public IObjectProviderBuilder RegisterType(Type @from, Type to, string name, ServiceLifetime lifetime, params Injection[] injections)
        {
            throw new NotImplementedException();
        }

        public IObjectProviderBuilder RegisterType(Type @from, Type to, ServiceLifetime lifetime, params Injection[] injections)
        {
            throw new NotImplementedException();
        }

        public IObjectProviderBuilder RegisterType(Type @from, Type to, string name = null, params Injection[] injections)
        {
            throw new NotImplementedException();
        }

        public IObjectProviderBuilder RegisterType<TFrom, TTo>(string name, ServiceLifetime lifetime, params Injection[] injections) where TTo : TFrom
        {
            throw new NotImplementedException();<commit_msg>implement partial of ObjectProviderBuilder<commit_after>﻿using System;
using System.Collections.Generic;
using System.Text;
using IFramework.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;

namespace IFramework.DependencyInjection.Microsoft
{
    public class ObjectProviderBuilder: IObjectProviderBuilder
    {
        private readonly IServiceCollection _serviceCollection;
        public ObjectProviderBuilder(IServiceCollection serviceCollection = null)
        {
            _serviceCollection = serviceCollection ?? new ServiceCollection();
        }

        public IObjectProvider Build(IServiceCollection serviceCollection = null)
        {
            _serviceCollection.Add(serviceCollection);
            return new ObjectProvider(_serviceCollection);
        }

        public IObjectProviderBuilder RegisterType(Type from, Type to, string name, ServiceLifetime lifetime, params Injection[] injections)
        {
            throw new NotImplementedException();
        }

        public IObjectProviderBuilder RegisterType(Type from, Type to, ServiceLifetime lifetime, params Injection[] injections)
        {
            if (injections != null)
            {
                throw new NotImplementedException();
            }
            return this;
        }

        public IObjectProviderBuilder RegisterType(Type from, Type to, string name = null, params Injection[] injections)
        {
            throw new NotImplementedException();
        }

        public IObjectProviderBuilder RegisterType<TFrom, TTo>(string name, ServiceLifetime lifetime, params Injection[] injections) where TTo : TFrom
        {
            throw new NotImplementedException();
{'fraction_non_alphanumeric': 0.06274768824306473, 'fraction_numerical': 0.0, 'mean_word_length': 3.1607142857142856, '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': '263609', 'n_tokens_mistral': 679, 'n_tokens_neox': 660, 'n_words': 192}