Table of Contents

Interface ICommandContext<T>

Namespace
BSGameLib.Chat
Assembly
BSGameLib.Chat.dll

A command context whose source is of type T.

public interface ICommandContext<out T> : ICommandContext where T : IMessageSource

Type Parameters

T
Inherited Members

Properties

Source

The source the message came from, as T.

T Source { get; }

Property Value

T

Methods

AddParameter(ICommandParameterValue)

Adds a parameter value. The dispatcher calls it for each parameter, in order.

void AddParameter(ICommandParameterValue parameter)

Parameters

parameter ICommandParameterValue