C# Class NetMud.Telnet.Channel

Partial class for telnet channel details
Inheritance: IChannelType
Afficher le fichier Open project: SwiftAusterity/NetMud

Méthodes publiques

Méthode Description
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

Method Details

EncapsulateOutput() public méthode

Encapsulate output lines for display to a client
public EncapsulateOutput ( IEnumerable lines ) : string
lines IEnumerable the text lines to encapsulate
Résultat string

EncapsulateOutput() public méthode

Encapsulates a string for output to a client
public EncapsulateOutput ( string str ) : string
str string the string to encapsulate
Résultat string

ReplaceColor() public méthode

public ReplaceColor ( SupportedColors styleType, string formatToReplace, string &originalString ) : bool
styleType SupportedColors
formatToReplace string
originalString string
Résultat bool