<commit_before>﻿using System;

namespace Common.EventSourcing.Interfaces
{
	/// <summary>
	/// Represents an event that affects a models state
	/// </summary>
    public interface IModelEvent<IdT>
    {
		IdT AggregateId { get; }

		DateTime Timestamp { get; }

		string EventName { get; }

        IModelEventData<IdT> EventData { get; }
	}
}<commit_msg>Changed generic event data object to system object<commit_after>﻿using System;

namespace Common.EventSourcing.Interfaces
{
	/// <summary>
	/// Represents an event that affects a models state
	/// </summary>
    public interface IModelEvent<IdT>
    {
		IdT AggregateId { get; }

		DateTime Timestamp { get; }

		string EventName { get; }

        object EventData { get; }

		/// <summary>
		/// Will apply the change to the aggregate model
		/// </summary>
		/// <param name="model">Model.</param>
		void ApplyEventData(IModelAggregate<IdT> model);
	}
}
{'fraction_non_alphanumeric': 0.12197802197802197, 'fraction_numerical': 0.0, 'mean_word_length': 3.085201793721973, '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': '6613977', 'n_tokens_mistral': 302, 'n_tokens_neox': 281, 'n_words': 80}