Exemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     AccountConfig config = new AccountConfig { AccountName = "pebbleit", AuthToken = "fee994663c634db07ea450f0b1de0cdbbc583d61" };
     _room = new CampfireRoom(config, 536178, true);
     _room.DataEmitted += PrintLine;
 }
Exemplo n.º 2
0
        public Form1()
        {
            InitializeComponent();
            AccountConfig config = new AccountConfig {
                AccountName = "pebbleit", AuthToken = "fee994663c634db07ea450f0b1de0cdbbc583d61"
            };

            _room              = new CampfireRoom(config, 536178, true);
            _room.DataEmitted += PrintLine;
        }
Exemplo n.º 3
0
 public CampfireChatApiAdapter()
 {
     AccountConfig config = new AccountConfig { AccountName = "pebbleit", AuthToken = "fee994663c634db07ea450f0b1de0cdbbc583d61" };
     _room = new CampfireRoom(config, 536178, true);
     _room.DataEmitted += _room_DataEmitted;
 }