Table of Contents

Interface IHandleable<T1, T2, THandler>

Namespace
Executables.Handling
Assembly
executables.dll

Represents a source that can register a handler.

public interface IHandleable<T1, T2, in THandler> where THandler : Handler<T1, T2>

Type Parameters

T1

Type of the handler input.

T2

Type of the handler result.

THandler

Type of the registered handler.

Methods

Handle(THandler)

Registers a handler and returns a disposable registration handle.

IDisposable Handle(THandler handler)

Parameters

handler THandler

Handler to register.

Returns

IDisposable

Handle that unregisters the handler when disposed.