C# Класс NetMud.Telnet.Channel

Partial class for telnet channel details
Наследование: IChannelType
Показать файл Открыть проект

Открытые методы

Метод Описание
EncapsulateOutput ( IEnumerable lines ) : string

Encapsulate output lines for display to a client

EncapsulateOutput ( string str ) : string

Encapsulates a string for output to a client

ReplaceColor ( SupportedColors styleType, string formatToReplace, string &originalString ) : bool

Описание методов

EncapsulateOutput() публичный Метод

Encapsulate output lines for display to a client
public EncapsulateOutput ( IEnumerable lines ) : string
lines IEnumerable the text lines to encapsulate
Результат string

EncapsulateOutput() публичный Метод

Encapsulates a string for output to a client
public EncapsulateOutput ( string str ) : string
str string the string to encapsulate
Результат string

ReplaceColor() публичный Метод

public ReplaceColor ( SupportedColors styleType, string formatToReplace, string &originalString ) : bool
styleType SupportedColors
formatToReplace string
originalString string
Результат bool