C# Class IrcShark.Extensions.Chatting.Irc.IrcProtocolExtension

Inheritance: IProtocolExtension
Mostrar archivo Open project: hapm/IrcShark

Public Methods

Method Description
LoadNetwork ( NetworkSettings settings ) : IrcShark.Chatting.INetwork

Loads the networks setinngs into a new IrcNetwork instance.

SaveNetwork ( IrcShark network ) : NetworkSettings

Saves an IrcNetwork to a NetworkSettings instance.

Method Details

LoadNetwork() public method

Loads the networks setinngs into a new IrcNetwork instance.
/// An UnsupportedProtocolExteption is thrown, if the given settings object is for /// another protocol. ///
public LoadNetwork ( NetworkSettings settings ) : IrcShark.Chatting.INetwork
settings NetworkSettings The settings to load.
return IrcShark.Chatting.INetwork

SaveNetwork() public method

Saves an IrcNetwork to a NetworkSettings instance.
public SaveNetwork ( IrcShark network ) : NetworkSettings
network IrcShark The IrcNetwork to save.
return NetworkSettings