C# Class Gablarski.Server.ChannelProviderExtensions

Show file Open project: ermau/Gablarski

Public Methods

Method Description
GetDefaultOrFirst ( this self ) : IChannelInfo

Gets the default channel or the first channel if no default set.

Method Details

GetDefaultOrFirst() public static method

Gets the default channel or the first channel if no default set.
public static GetDefaultOrFirst ( this self ) : IChannelInfo
self this The IChannelProvider to retrieve the channels from.
return IChannelInfo