Updated KD and ModulLoader
This commit is contained in:
@@ -6,10 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Firebird2D.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for the Firebird event Pipeline
|
||||
/// </summary>
|
||||
public interface IPipeline
|
||||
public interface IPipelineBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Class witch owns the Pipeline and has the right to send events or delete the pipeline
|
||||
@@ -30,6 +27,15 @@ namespace Firebird2D.Interfaces
|
||||
/// </summary>
|
||||
/// <param name="handler">Handler witch should be removed from the Pipeline</param>
|
||||
void Unsubscribe(Delegate handler);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Interface for the Firebird event Pipeline
|
||||
/// </summary>
|
||||
public interface IPipeline<T> : IPipelineBase where T : EventArgs
|
||||
{
|
||||
|
||||
|
||||
void SendEvent(object sender, T args);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user