Added Comments

This commit is contained in:
Mueller Wayan
2025-04-20 15:37:36 +02:00
parent 08f66af16e
commit 51493135df
9 changed files with 220 additions and 26 deletions
+18
View File
@@ -6,11 +6,29 @@ using System.Threading.Tasks;
namespace Firebird2D.EventPipelines
{
/// <summary>
/// Interface for the Firebird event Pipeline
/// </summary>
public interface I_Pipeline
{
/// <summary>
/// Class witch owns the Pipeline and has the right to send events or delete the pipeline
/// </summary>
object PipelineMaster { get; }
/// <summary>
/// Check if no one subscribed to the event
/// </summary>
bool IsEventEmpty { get; }
/// <summary>
/// Subscribe to this event Pipeline
/// </summary>
/// <param name="handler">Handler witch should be Invoked when the event is send</param>
void Subscribe(Delegate handler);
/// <summary>
/// Unsubscribe from this event Pipeline
/// </summary>
/// <param name="handler">Handler witch should be removed from the Pipeline</param>
void Unsubscribe(Delegate handler);
}