<commit_before>﻿namespace Assets.Engine.Scripts.Core
{
	public interface IEventBase<TEvent>
	{
		//! Registers caller for receiving notification from parent
		bool Register(IEventBase<TEvent> neighbor, bool registerListener);
		//! Notifies subscribers about something (implementation specific)	
		void NotifyAll(TEvent evt);
		//! Notifies one specific subscriber
		void NotifyOne(IEventBase<TEvent> receiver, TEvent evt);

		void OnRegistered(bool registerListener);
		void OnNotified(TEvent evt);
	}
}
<commit_msg>[Update] Made IsRegistered a part of IEventBase interface<commit_after>﻿namespace Assets.Engine.Scripts.Core
{
	public interface IEventBase<TEvent>
	{
        //! Registers caller for receiving notification from parent
        bool Register(IEventBase<TEvent> neighbor, bool registerListener);
        //! Returns true if an object is registered
        bool IsRegistered();
        //! Notifies subscribers about something (implementation specific)	
        void NotifyAll(TEvent evt);
		//! Notifies one specific subscriber
		void NotifyOne(IEventBase<TEvent> receiver, TEvent evt);

		void OnRegistered(bool registerListener);
		void OnNotified(TEvent evt);
	}
}

{'fraction_non_alphanumeric': 0.08284023668639054, 'fraction_numerical': 0.0, 'mean_word_length': 4.481481481481482, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6599850', 'n_tokens_mistral': 345, 'n_tokens_neox': 323, 'n_words': 98}