Ejemplo n.º 1
0
 public Channel(Client client, string name, string key = "")
 {
     Name = name;
     Key = key;
     _client = client;
     Joined += (sender, user) => IsConnected = true;
     Left += (sender, args) => IsConnected = false;
 }
Ejemplo n.º 2
0
 public App()
 {
     // Default connection
     IRCClient = new Client
     {
         Nickname = Settings.Default.Nickname,
         RealName = Settings.Default.RealName,
         Server = Settings.Default.Server
     };
 }
Ejemplo n.º 3
0
 public Listener(Client client, NetworkStream networkStream)
 {
     _networkStream = networkStream;
     _client = client;
 }
Ejemplo n.º 4
0
 public ServerViewModel(Client ircClient)
 {
     _ircClient = ircClient;
     Messages = new ObservableCollection<string>();
     TimeStamps  = new ObservableCollection<string>();
 }
Ejemplo n.º 5
0
 public User(Client client, string nick)
 {
     _client = client;
     Nick = nick;
 }