Esempio n. 1
0
 /// <summary>
 ///     <para>Initializes an instance of the <see cref="WcfEngineHost"/> class.</para>
 /// </summary>
 public WcfEngineHost()
 {
     // create the helpers
     concreteHelper = new WcfEngineHelper();
     pokerHost      = new WcfPokerHost(concreteHelper);
     pokerBroadcast = new WcfPokerBroadcast(concreteHelper);
     pokerChat      = new WcfPokerRoomChat(concreteHelper);
 }
Esempio n. 2
0
 /// <summary>
 ///     <para>Initializes an instance of the <see cref="WcfPokerBroadcast"/> class.</para>
 /// </summary>
 /// <param name="concreteHelper">The helper which runs the game
 /// </param>
 public WcfPokerBroadcast(WcfEngineHelper concreteHelper)
 {
     this.concreteHelper = concreteHelper;
 }
Esempio n. 3
0
 /// <summary>
 ///     <para>Initializes an instance of the <see cref="WcfPokerHost"/> class.</para>
 /// </summary>
 /// <param name="concreteHost">The wcf helper which actually provides the service implementation
 /// </param>
 public WcfPokerHost(WcfEngineHelper concreteHost)
 {
     this.concreteHost = concreteHost;
 }