Table of Contents

Class TypeMessageHandler<TMessage>

Namespace
Ploch.CommandLine.Spectre.Output
Assembly
Ploch.CommandLine.Spectre.dll

Base class for message handlers that accept messages of a specific type.

public abstract class TypeMessageHandler<TMessage> : IMessageHandler

Type Parameters

TMessage

The message type handled by this handler.

Inheritance
TypeMessageHandler<TMessage>
Implements
Derived
Inherited Members

Properties

MessageType

Gets the message type handled by this handler.

Methods

CanHandle(object?)

Determines whether the supplied message can be handled by this handler.