C# Class slimCat.Services.ChannelService

Inheritance: System.Windows.Threading.DispatcherObject, IManageChannels
Afficher le fichier Open project: WreckedAvent/slimCat

Méthodes publiques

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

Méthode Description
BuildHomeChannel ( bool payload ) : void
Log ( string text ) : void
RequestNavigate ( string channelId ) : void

Method Details

AddChannel() public méthode

public AddChannel ( ChannelType type, string id, string name ) : void
type ChannelType
id string
name string
Résultat void

AddMessage() public méthode

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

ChannelService() public méthode

public ChannelService ( IChatState chatState, ILogThings logger, IAutomateThings automation ) : System
chatState IChatState
logger ILogThings
automation IAutomateThings
Résultat System

JoinChannel() public méthode

public JoinChannel ( ChannelType type, string id, string name = "" ) : void
type ChannelType
id string
name string
Résultat void

QuickJoinChannel() public méthode

public QuickJoinChannel ( string id, string name ) : void
id string
name string
Résultat void

RemoveChannel() public méthode

public RemoveChannel ( string name ) : void
name string
Résultat void

RemoveChannel() public méthode

public RemoveChannel ( string name, bool force, bool isServer ) : void
name string
force bool
isServer bool
Résultat void