C# Class slimCat.Services.ChannelService

Inheritance: System.Windows.Threading.DispatcherObject, IManageChannels
Datei anzeigen Open project: WreckedAvent/slimCat

Public Methods

Method Description
AddChannel ( ChannelType type, string id, string name ) : void
AddMessage ( string message, string channelName, string poster, MessageType messageType = MessageType.Normal ) : void
ChannelService ( IChatState chatState, ILogThings logger, IAutomateThings automation ) : System
JoinChannel ( ChannelType type, string id, string name = "" ) : void
QuickJoinChannel ( string id, string name ) : void
RemoveChannel ( string name ) : void
RemoveChannel ( string name, bool force, bool isServer ) : void

Private Methods

Method Description
BuildHomeChannel ( bool payload ) : void
Log ( string text ) : void
RequestNavigate ( string channelId ) : void

Method Details

AddChannel() public method

public AddChannel ( ChannelType type, string id, string name ) : void
type ChannelType
id string
name string
return void

AddMessage() public method

public AddMessage ( string message, string channelName, string poster, MessageType messageType = MessageType.Normal ) : void
message string
channelName string
poster string
messageType MessageType
return void

ChannelService() public method

public ChannelService ( IChatState chatState, ILogThings logger, IAutomateThings automation ) : System
chatState IChatState
logger ILogThings
automation IAutomateThings
return System

JoinChannel() public method

public JoinChannel ( ChannelType type, string id, string name = "" ) : void
type ChannelType
id string
name string
return void

QuickJoinChannel() public method

public QuickJoinChannel ( string id, string name ) : void
id string
name string
return void

RemoveChannel() public method

public RemoveChannel ( string name ) : void
name string
return void

RemoveChannel() public method

public RemoveChannel ( string name, bool force, bool isServer ) : void
name string
force bool
isServer bool
return void