C# Class NetMud.Communication.InternalChannel

Inheritance: IChannelType
显示文件 Open project: SwiftAusterity/NetMud

Public Methods

Method 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 method

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

EncapsulateOutput() public method

Encapsulates a string for output to a client
public EncapsulateOutput ( string str ) : string
str string the string to encapsulate
return string

ReplaceColor() public method

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