C# Class Gablarski.LocalServer.ChannelProvider

Inheritance: IChannelProvider
Show file Open project: ermau/Gablarski Class Usage Examples

Public Methods

Method Description
DeleteChannel ( IChannelInfo channel ) : ChannelEditResult
GetChannels ( ) : IEnumerable
SaveChannel ( IChannelInfo channel ) : ChannelEditResult
Setup ( ISession session ) : void

Private Methods

Method Description
CreateLobby ( ISession session ) : void
GetDefaultChannel ( ISession session ) : LocalChannelInfo
OnChannelsUpdated ( EventArgs e ) : void

Method Details

DeleteChannel() public method

public DeleteChannel ( IChannelInfo channel ) : ChannelEditResult
channel IChannelInfo
return ChannelEditResult

GetChannels() public method

public GetChannels ( ) : IEnumerable
return IEnumerable

SaveChannel() public method

public SaveChannel ( IChannelInfo channel ) : ChannelEditResult
channel IChannelInfo
return ChannelEditResult

Setup() public static method

public static Setup ( ISession session ) : void
session ISession
return void