<commit_before>using Aggregates.Contracts;
using NServiceBus.MessageMutator;
using NServiceBus.UnitOfWork;
using System;
using System.Collections.Generic;
namespace Aggregates
{
    public interface IUnitOfWork : IDisposable, IManageUnitsOfWork, IMutateTransportMessages, IMessageMutator
    {
        IRepository<T> R<T>() where T : class, IAggregate;
        IRepository<T> For<T>() where T : class, IAggregate;
        IRepository<T> Repository<T>() where T : class, IAggregate;

        void Commit();
    }
}<commit_msg>Current message needs to be in the uow interface<commit_after>using Aggregates.Contracts;
using NServiceBus.MessageMutator;
using NServiceBus.UnitOfWork;
using System;
using System.Collections.Generic;
namespace Aggregates
{
    public interface IUnitOfWork : IDisposable, IManageUnitsOfWork, IMutateTransportMessages, IMessageMutator
    {
        IRepository<T> R<T>() where T : class, IAggregate;
        IRepository<T> For<T>() where T : class, IAggregate;
        IRepository<T> Repository<T>() where T : class, IAggregate;

        void Commit();

        Object CurrentMessage { get; }
    }
}
{'fraction_non_alphanumeric': 0.09333333333333334, 'fraction_numerical': 0.0, 'mean_word_length': 4.2372093023255815, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2480372', 'n_tokens_mistral': 342, 'n_tokens_neox': 349, 'n_words': 89}