Exemplo n.º 1
0
        public BingoService()
        {
            //_synchContext = synchContext;
            _instanceContext = new InstanceContext(this);
            _channelFactory  = new DuplexChannelFactory <IBingoSendChannel>(_instanceContext, "BuzzwordBingo");
            _participant     = _channelFactory.CreateChannel();
            //_onlineStatus = _participant.GetProperty<IOnlineStatus>();

            this.Player = new Profile(string.Empty);
        }
Exemplo n.º 2
0
        public BingoService()
        {
            //_synchContext = synchContext;
            _instanceContext = new InstanceContext(this);
            _channelFactory = new DuplexChannelFactory<IBingoSendChannel>(_instanceContext, "BuzzwordBingo");
            _participant = _channelFactory.CreateChannel();
            //_onlineStatus = _participant.GetProperty<IOnlineStatus>();  

            this.Player = new Profile(string.Empty);
        }