<commit_before>﻿using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;

namespace Merq.Components
{
	[PartCreationPolicy(CreationPolicy.Shared)]
	class DefaultExportProvider
	{
		[ImportingConstructor]
		public DefaultExportProvider(
			[Import("Merq.ICommandBus.Default")] ICommandBus defaultCommandBus,
			[Import("Merq.IEventStream.Default")] IEventStream defaultEventStream,
			[ImportMany("Merq.ICommandBus")] IEnumerable<ICommandBus> customCommandBus,
			[ImportMany("Merq.IEventStream")] IEnumerable<IEventStream> customEventStream)
		{
			CommandBus = customCommandBus.FirstOrDefault() ?? defaultCommandBus;
			EventStream = customEventStream.FirstOrDefault() ?? defaultEventStream;
		}

		[Export]
		public ICommandBus CommandBus { get; }

		[Export]
		public IEventStream EventStream { get; }
	}
}<commit_msg>Contract name for overriden interfaces cannot match type name<commit_after>﻿using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;

namespace Merq.Components
{
	[PartCreationPolicy(CreationPolicy.Shared)]
	class DefaultExportProvider
	{
		[ImportingConstructor]
		public DefaultExportProvider(
			[Import("Merq.ICommandBus.Default")] ICommandBus defaultCommandBus,
			[Import("Merq.IEventStream.Default")] IEventStream defaultEventStream,
			[ImportMany("Merq.ICommandBus.Override")] IEnumerable<ICommandBus> customCommandBus,
			[ImportMany("Merq.IEventStream.Override")] IEnumerable<IEventStream> customEventStream)
		{
			CommandBus = customCommandBus.FirstOrDefault() ?? defaultCommandBus;
			EventStream = customEventStream.FirstOrDefault() ?? defaultEventStream;
		}

		[Export]
		public ICommandBus CommandBus { get; }

		[Export]
		public IEventStream EventStream { get; }
	}
}
{'fraction_non_alphanumeric': 0.10101010101010101, 'fraction_numerical': 0.0, 'mean_word_length': 6.652360515021459, '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': '4260112', 'n_tokens_mistral': 552, 'n_tokens_neox': 515, 'n_words': 93}